posix_memalign.3: ATTRIBUTES: Note functions that aren't thread-safe

The markings match glibc markings.

posix_memalign: MT-Safe
aligned_alloc:  MT-Safe
memalign:       MT-Safe

valloc:         MT-Unsafe init
pvalloc:        MT-Unsafe init

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-16 13:09:35 +08:00 committed by Michael Kerrisk
parent a46e97ad29
commit b63bb31a91
1 changed files with 22 additions and 0 deletions

View File

@ -179,6 +179,28 @@ was added to glibc in version 2.16.
The function
.BR posix_memalign ()
is available since glibc 2.1.91.
.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 aligned_alloc (),
.br
.BR memalign (),
.br
.BR posix_memalign ()
T} Thread safety MT-Safe
T{
.BR valloc (),
.br
.BR pvalloc ()
T} Thread safety MT-Unsafe init
.TE
.SH CONFORMING TO
The function
.BR valloc ()