From c247120af73e6d37113af28e005fb0a0a95d7996 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 9 Sep 1998 18:09:02 +0000 Subject: Added gettimeofday(). --- doc/new_chapters/clock.t | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'doc/new_chapters') 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 @@ -189,6 +190,31 @@ field. This call is interruptible by a signal. +@page +@subsection gettimeofday + +@subheading CALLING SEQUENCE: + +@example +#include +#include + +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 -- cgit v1.2.3