diff options
| author | Ma Shimiao <mashimiao.fnst@cn.fujitsu.com> | 2015-01-07 16:30:32 +0800 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2015-02-27 14:07:58 +0100 |
| commit | 2148d80b41beeb36e27ae08d80e93d9aca2aa3bb (patch) | |
| tree | 9497b7c16f82dffe75164635dcfef80911e6f47b | |
| parent | 2bddd251cfb3e9deb7dcee0332518a986a29f2c9 (diff) | |
| download | man-pages-2148d80b41beeb36e27ae08d80e93d9aca2aa3bb.tar.gz | |
malloc.3: ATTRIBUTES: Note functions that are thread-safe
The function malloc(), free(), calloc() and realloc() are thread safe.
Signed-off-by: Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
| -rw-r--r-- | man3/malloc.3 | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/man3/malloc.3 b/man3/malloc.3 index 26849828c7..5e4132d8a8 100644 --- a/man3/malloc.3 +++ b/man3/malloc.3 @@ -168,6 +168,21 @@ is returned. If .BR realloc () fails, the original block is left untouched; it is not freed or moved. +.SH ATTRIBUTES +For an explanation of the terms used in this section, see +.BR attributes (7). +.TS +allbox; +lbw38 lb lb +l l l. +Interface Attribute Value +T{ +.BR malloc (), +.BR free (), +.BR calloc (), +.BR realloc () +T} Thread safety MT-Safe +.TE .SH CONFORMING TO C89, C99. .SH NOTES |
