sem_close.3: ATTRIBUTES: Note function that is thread-safe

After research, We think sem_close() is thread-safe. But, there
is not marking of sem_close() in glibc document.

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-06-03 18:16:34 +08:00 committed by Michael Kerrisk
parent c17fc186c2
commit 011b525117
1 changed files with 13 additions and 0 deletions

View File

@ -51,6 +51,19 @@ set to indicate the error.
.B EINVAL
.I sem
is not a valid semaphore.
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
.BR attributes (7).
.TS
allbox;
lb lb lb
l l l.
Interface Attribute Value
T{
.BR sem_close ()
T} Thread safety MT-Safe
.TE
.SH CONFORMING TO
POSIX.1-2001.
.SH NOTES