fmtmsg.3: Reformat thread-safety information

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-06-27 08:47:32 +02:00
parent 8783ef4665
commit d751c37fd5
1 changed files with 16 additions and 1 deletions

View File

@ -223,7 +223,22 @@ is the string printed when a message of this class is processed by
.BR fmtmsg ()
is provided in glibc since version 2.1.
.SH ATTRIBUTES
.SS Multithreading (see pthreads(7))
For an explanation of the terms used in this section, see
.BR attributes (7).
.TS
allbox;
lb lb lbw23
l l l.
Interface Attribute Value
T{
.BR fmtmsg ()
T} Thread safety T{
glibc >= 2.16: MT-Safe
.br
glibc < 2.16: MT-Unsafe
T}
.TE
.PP
Before glibc 2.16, the
.BR fmtmsg ()
function uses a static variable that is not protected,