diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/new_chapters/clock.t | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/doc/new_chapters/clock.t b/doc/new_chapters/clock.t index ffd96d9456..9c875ee767 100644 --- a/doc/new_chapters/clock.t +++ b/doc/new_chapters/clock.t @@ -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 @@ -190,6 +191,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 @subheading CALLING SEQUENCE: |