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

After research, We think malloc_trim() is thread-safe. But, there
is not marking of malloc_trim() 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:32 +08:00 committed by Michael Kerrisk
parent 99f8b6661b
commit 0cc0b5e4eb
1 changed files with 13 additions and 0 deletions

View File

@ -57,6 +57,19 @@ or 0 if it was not possible to release any memory.
No errors are defined.
.\" .SH VERSIONS
.\" Available already in glibc 2.0, possibly earlier
.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 malloc_trim ()
T} Thread safety MT-Safe
.TE
.SH CONFORMING TO
This function is a GNU extension.
.SH NOTES