1
0
mirror of https://frontier.innolan.net/rainlance/amiga-tz.git synced 2025-11-22 17:00:47 +00:00

Document thread-safe functions in man pages.

* NEWS, newctime.3, newstrftime.3, newtzset.3, time2posix.3:
Mention localtime_r etc.  Also, use function prototypes rather
than K&R style, and use 'restrict' where POSIX does.
This commit is contained in:
Paul Eggert
2014-08-22 17:44:10 -07:00
parent 730615ccad
commit 649397ecb4
5 changed files with 55 additions and 39 deletions

View File

@ -5,14 +5,11 @@ time2posix, posix2time \- convert seconds since the Epoch
.nf
.ie \n(.g .ds - \f(CW-\fP
.el ds - \-
.B #include <sys/types.h>
.B #include <time.h>
.PP
.B time_t time2posix(t)
.B time_t t
.B time_t time2posix(time_t t);
.PP
.B time_t posix2time(t)
.B time_t t
.B time_t posix2time(time_t t);
.PP
.B cc ... \*-ltz
.fi