summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2014-01-23 08:15:13 +0000
committerotto <otto@openbsd.org>2014-01-23 08:15:13 +0000
commit1b585b7e9ad4da2fd302758061516023ebd2de54 (patch)
tree48358d38c39b250088579abf494085c8fe002dea /lib/libc
parentmissing word; (diff)
downloadwireguard-openbsd-1b585b7e9ad4da2fd302758061516023ebd2de54.tar.xz
wireguard-openbsd-1b585b7e9ad4da2fd302758061516023ebd2de54.zip
also document that ctime* and asctime* can return NULL; ok deraadt@, millert@
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/time/ctime.38
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libc/time/ctime.3 b/lib/libc/time/ctime.3
index 9818eba66ae..fc02e5de668 100644
--- a/lib/libc/time/ctime.3
+++ b/lib/libc/time/ctime.3
@@ -1,7 +1,7 @@
-.\" $OpenBSD: ctime.3,v 1.42 2014/01/21 11:51:02 otto Exp $
+.\" $OpenBSD: ctime.3,v 1.43 2014/01/23 08:15:13 otto Exp $
.\"
.\"
-.Dd $Mdocdate: January 21 2014 $
+.Dd $Mdocdate: January 23 2014 $
.Dt CTIME 3
.Os
.Sh NAME
@@ -259,6 +259,10 @@ from UTC, with positive values indicating east
of the Prime Meridian.
.Sh RETURN VALUES
The functions
+.Fn ctime ,
+.Fn ctime_r ,
+.Fn asctime ,
+.Fn asctime_r ,
.Fn localtime ,
.Fn localtime_r ,
.Fn gmtime