summaryrefslogtreecommitdiffstats
path: root/doc/new_chapters
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-09-09 18:09:02 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-09-09 18:09:02 +0000
commitc247120af73e6d37113af28e005fb0a0a95d7996 (patch)
tree0cbb151abf34032f0e2ef9a92453b24b4ecb5443 /doc/new_chapters
parentNew file (diff)
downloadrtems-c247120af73e6d37113af28e005fb0a0a95d7996.tar.bz2
Added gettimeofday().
Diffstat (limited to 'doc/new_chapters')
-rw-r--r--doc/new_chapters/clock.t26
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: