summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2014-01-23 08:15:14 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2014-01-23 08:15:14 +0000
commitbe7f08b4a59aca0b55c287b56991b3649f21d1e4 (patch)
treebe631696f0e0192dbe333a184c7d3402b92f0af0
parent334c69e812d4c3601e2c74c3901973ed0135b3bd (diff)
also document that ctime* and asctime* can return NULL; ok deraadt@, millert@
-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