summaryrefslogtreecommitdiffstats
path: root/lib/libc/time
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1998-07-05 19:36:54 +0000
committermillert <millert@openbsd.org>1998-07-05 19:36:54 +0000
commit303574525005c71898f67b694e8dd9ba5597db9e (patch)
tree70ab6c6677366e49f294db1c3effe9c6ce0ea708 /lib/libc/time
parentfix bugs; seen by dima (diff)
downloadwireguard-openbsd-303574525005c71898f67b694e8dd9ba5597db9e.tar.xz
wireguard-openbsd-303574525005c71898f67b694e8dd9ba5597db9e.zip
ctime takes a pointer to time_t not long. Correct in prototype, wrong in description
Diffstat (limited to 'lib/libc/time')
-rw-r--r--lib/libc/time/ctime.34
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/time/ctime.3 b/lib/libc/time/ctime.3
index aa32c1f2846..7df91acf968 100644
--- a/lib/libc/time/ctime.3
+++ b/lib/libc/time/ctime.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ctime.3,v 1.8 1997/06/06 21:12:10 kstailey Exp $
+.\" $OpenBSD: ctime.3,v 1.9 1998/07/05 19:36:54 millert Exp $
.TH CTIME 3
.SH NAME
asctime, ctime, difftime, gmtime, localtime, mktime \- convert date and time to ASCII
@@ -32,7 +32,7 @@ asctime, ctime, difftime, gmtime, localtime, mktime \- convert date and time to
.fi
.SH DESCRIPTION
.I Ctime\^
-converts a long integer, pointed to by
+converts a time_t, pointed to by
.IR clock ,
representing the time in seconds since
00:00:00 UTC, 1970-01-01,