summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/time.3
diff options
context:
space:
mode:
authoraaron <aaron@openbsd.org>1999-05-29 22:38:33 +0000
committeraaron <aaron@openbsd.org>1999-05-29 22:38:33 +0000
commitd7403a2a9920cef3553a58e7c79772e68b7335a3 (patch)
tree6030842094a9cac170dccdd0c7ca3b749ae590b8 /lib/libc/gen/time.3
parentrepairs (diff)
downloadwireguard-openbsd-d7403a2a9920cef3553a58e7c79772e68b7335a3.tar.xz
wireguard-openbsd-d7403a2a9920cef3553a58e7c79772e68b7335a3.zip
repairs; go back over some old files, because we should properly distinguish
between NUL and NULL, i.e., don't use the .Dv (defined variable) macro when referring to an ASCII NUL
Diffstat (limited to 'lib/libc/gen/time.3')
-rw-r--r--lib/libc/gen/time.310
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/libc/gen/time.3 b/lib/libc/gen/time.3
index e0522a8f01f..d15ca8281d3 100644
--- a/lib/libc/gen/time.3
+++ b/lib/libc/gen/time.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: time.3,v 1.4 1999/05/27 20:49:35 aaron Exp $
+.\" $OpenBSD: time.3,v 1.5 1999/05/29 22:38:35 aaron Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -50,21 +50,23 @@ The
.Fn time
function
returns the value of time in seconds since 0 hours, 0 minutes,
-0 seconds, January 1, 1970, Coordinated Universal Time.
+0 seconds, January 1, 1970, Coordinated Universal Time (UTC).
.Pp
A copy of the time value may be saved to the area indicated by the
pointer
.Fa tloc .
If
.Fa tloc
-is a NULL pointer, no value is stored.
+is a
+.Dv NULL
+pointer, no value is stored.
.Pp
Upon successful completion,
.Fn time
returns the value of time.
Otherwise a value of
.Po
-.Po Fa time_t Pc \-1
+.Fa time_t No - 1
.Pc
is returned and the global variable
.Va errno