summaryrefslogtreecommitdiff
path: root/lib/libc/sys/gettimeofday.2
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>1999-06-29 14:10:33 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>1999-06-29 14:10:33 +0000
commit56f6529fc36c6db13ad6ff247464d6b0c9e0d023 (patch)
tree370910d2e05f30a3e4f78b5160a518c3222aa9f9 /lib/libc/sys/gettimeofday.2
parent7e10459e58879c6c2e91c7f14687227390272c68 (diff)
- change references to nil to null; tschroed@acm.org
- remove trailing spaces from end of lines - add some .Dv - change -1 to \-1, so `-' is taken as a negative sign - other misc formatting fixes
Diffstat (limited to 'lib/libc/sys/gettimeofday.2')
-rw-r--r--lib/libc/sys/gettimeofday.212
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/libc/sys/gettimeofday.2 b/lib/libc/sys/gettimeofday.2
index 6b07c22c376..dfa7a5a62fc 100644
--- a/lib/libc/sys/gettimeofday.2
+++ b/lib/libc/sys/gettimeofday.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: gettimeofday.2,v 1.6 1999/05/23 14:10:54 aaron Exp $
+.\" $OpenBSD: gettimeofday.2,v 1.7 1999/06/29 14:10:02 aaron Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -64,14 +64,16 @@ in ``ticks.'' If
.Fa tp
or
.Fa tzp
-is NULL, the associated time
+is
+.Dv NULL ,
+the associated time
information will not be returned or set.
.Pp
The structures pointed to by
.Fa tp
and
.Fa tzp
-are defined in
+are defined in
.Ao Pa sys/time.h Ac
as:
.Pp
@@ -87,7 +89,7 @@ struct timezone {
};
.Ed
.Pp
-The
+The
.Fa timezone
structure indicates the local time zone
(measured in minutes of time westward from Greenwich),
@@ -106,7 +108,7 @@ The system time can still be adjusted backwards using the
system call even when the system is secure.
.Sh RETURN
A 0 return value indicates that the call succeeded.
-A -1 return value indicates an error occurred, and in this
+A \-1 return value indicates an error occurred, and in this
case an error code is stored into the global variable
.Va errno .
.Sh ERRORS