setlocale.3: ATTRIBUTES: Note function that isn't thread-safe

The marking matches glibc marking.
The marking of functions in glibc is:
- setlocale: MT-Unsafe const:locale env

Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Zeng Linggang 2015-04-23 12:51:47 +08:00 committed by Michael Kerrisk
parent 7855ffa482
commit b3eedd0626
1 changed files with 13 additions and 0 deletions

View File

@ -173,6 +173,19 @@ The string returned is such that a subsequent call with that string
and its associated category will restore that part of the process's
locale.
The return value is NULL if the request cannot be honored.
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
.BR attributes (7).
.TS
allbox;
lb lb lbw26
l l l.
Interface Attribute Value
T{
.BR setlocale ()
T} Thread safety MT-Unsafe const:locale env
.TE
.SH CONFORMING TO
C89, C99, POSIX.1-2001.
.SH SEE ALSO