Added gettimeofday().

This commit is contained in:
Joel Sherrill
1998-09-09 18:09:02 +00:00
parent 8d0ea20e11
commit c247120af7

View File

@@ -19,6 +19,7 @@ The directives provided by the clock manager are:
@item @code{clock_settime} -
@item @code{clock_getres} -
@item @code{nanosleep} -
@item @code{gettimeofday} -
@item @code{time} -
@end itemize
@@ -189,6 +190,31 @@ field.
This call is interruptible by a signal.
@page
@subsection gettimeofday
@subheading CALLING SEQUENCE:
@example
#include <sys/time.h>
#include <unistd.h>
int gettimeofday(
struct timeval *tp,
struct timezone *tzp
);
@end example
@subheading STATUS CODES:
On error, this routine returns -1 and sets errno as appropriate.
@subheading DESCRIPTION:
@subheading NOTES:
Currently, the timezone information is not supported.
@page
@subsection time