Hello,
I'm reading code for time function in glibc and I see the following
fragment in file time\time.h:
/* Return the time now, and store it in *TIMER if not NULL. */
time_t
time (timer)
time_t *timer;
{
__set_errno (ENOSYS);
if (timer != NULL)
*timer = (time_t) -1;
return (time_t) -1;
}
How do I read this function declaration?
Nickolai
I'm reading code for time function in glibc and I see the following
fragment in file time\time.h:
/* Return the time now, and store it in *TIMER if not NULL. */
time_t
time (timer)
time_t *timer;
{
__set_errno (ENOSYS);
if (timer != NULL)
*timer = (time_t) -1;
return (time_t) -1;
}
How do I read this function declaration?
Nickolai
Comment