The markings match glibc markings. asctime: MT-Unsafe race:asctime locale asctime_r: MT-Safe locale ctime: MT-Unsafe race:tmbuf race:asctime env locale ctime_r: MT-Safe env locale gmtime_r: MT-Safe env locale localtime_r: MT-Safe env locale mktime: MT-Safe env locale gmtime: MT-Unsafe race:tmbuf env locale localtime: MT-Unsafe race:tmbuf env locale Signed-off-by: Zeng Linggang <zenglg.jy@xxxxxxxxxxxxxx> --- man3/ctime.3 | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/man3/ctime.3 b/man3/ctime.3 index b127716..c5959d1 100644 --- a/man3/ctime.3 +++ b/man3/ctime.3 @@ -279,6 +279,39 @@ Each of these functions returns the value described, or NULL (\-1 in case of .BR mktime ()) in case an error was detected. +.SH ATTRIBUTES +For an explanation of the terms used in this section, see +.BR attributes (7). +.TS +allbox; +lbw14 lb lbw31 +l l l. +Interface Attribute Value +T{ +.BR asctime () +T} Thread safety MT-Unsafe race:asctime locale +T{ +.BR asctime_r () +T} Thread safety MT-Safe locale +T{ +.BR ctime () +T} Thread safety T{ +MT-Unsafe race:tmbuf +.br +race:asctime env locale +T} +T{ +.BR ctime_r (), +.BR gmtime_r (), +.BR localtime_r (), +.BR mktime () +T} Thread safety MT-Safe env locale +T{ +.BR gmtime (), +.BR localtime () +T} Thread safety MT-Unsafe race:tmbuf env locale +.TE + .SH CONFORMING TO POSIX.1-2001. C89 and C99 specify -- 1.9.3 -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html