Subversion Repositories HelenOS

Compare Revisions

Regard whitespace Rev 2563 → Rev 2564

/trunk/uspace/lib/libc/generic/time.c
175,6 → 175,17
return 0;
}
 
time_t time(time_t *tloc)
{
struct timeval tv;
 
if (gettimeofday(&tv, NULL))
return (time_t) -1;
if (tloc)
*tloc = tv.tv_sec;
return tv.tv_sec;
}
 
/** Wait unconditionally for specified number of microseconds */
void usleep(unsigned long usec)
{