mbrtowc.3: ATTRIBUTES: Note function that is thread safe with exceptions

The function mbrtowc() is thread safe with exceptions.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Peng Haitao 2013-06-04 17:58:50 +08:00 committed by Michael Kerrisk
parent 3220895675
commit 1ad7b08940
1 changed files with 6 additions and 0 deletions

View File

@ -171,6 +171,12 @@ if it couldn't parse a complete multibyte
character, meaning that
.I n
should be increased.
.SH ATTRIBUTES
.SS Multithreading (see pthreads(7))
The
.BR mbrtowc ()
function is thread-safe with exceptions.
It is not thread-safe if called with a NULL \fIps\fP parameter.
.SH CONFORMING TO
C99.
.SH NOTES