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:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user