On Tue, Jan 21, 2014 at 11:58:44AM -0700, Todd C. Miller wrote:
> On Tue, 21 Jan 2014 10:44:00 +0100, Otto Moerbeek wrote:
>
> > And here's the man page diff, our ctime and asctime actually do not
> > ever return NULL, while posix allows that.
>
> Isn't it worth documenting that ctime and asctime are allowed to
> return NULL, even though they do not on OpenBSD?
>
> - todd
yeah, I first had that and then deleted it.
ok?
-Otto
Index: ctime.3
===================================================================
RCS file: /cvs/src/lib/libc/time/ctime.3,v
retrieving revision 1.42
diff -u -p -r1.42 ctime.3
--- ctime.3 21 Jan 2014 11:51:02 -0000 1.42
+++ ctime.3 22 Jan 2014 09:26:33 -0000
@@ -259,6 +259,10 @@ from UTC, with positive values indicatin
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