The function malloc(), free(), calloc() and realloc() are thread safe. Signed-off-by: Ma Shimiao <mashimiao.fnst@xxxxxxxxxxxxxx> --- man3/malloc.3 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/man3/malloc.3 b/man3/malloc.3 index 2684982..5e4132d 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 -- 1.8.3.1 -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html