Skip to contentSkip to conversation

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

PATCH Applied Qian Lei 2 participants 2 messages Jun 10, 2014 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore

Qian Lei

author
#0 lore raw

PATCH 1/1 malloc_usable_size.3: ATTRIBUTES: Note function that is thread-safe

The function malloc_usable_size() is thread safe.

---
 man3/malloc_usable_size.3 | 5 +++++
 1 file changed, 5 insertions(+)
man3/malloc_usable_size.3 +5 -0
index 5b06a65..e3313bc 100644
@@ -45,6 +45,11 @@ the block of allocated memory pointed to by
 If
 .I ptr
 is NULL, 0 is returned.
+.SH ATTRIBUTES
+.SS Multithreading (see pthreads(7))
+The
+.BR malloc_usable_size ()
+function is thread-safe.
 .SH CONFORMING TO
 This function is a GNU extension.
 .SH NOTES
Signature · 6 lines
1.8.3.1

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#1 lore raw

Applied. Thank you, Qian Lei.

Cheers,

Michael

Quoted 24 lines · Qian Lei

The function malloc_usable_size() is thread safe.

---
 man3/malloc_usable_size.3 | 5 +++++
 1 file changed, 5 insertions(+)
man3/malloc_usable_size.3 +5 -0
index 5b06a65..e3313bc 100644
@@ -45,6 +45,11 @@ the block of allocated memory pointed to by
 If
 .I ptr
 is NULL, 0 is returned.
+.SH ATTRIBUTES
+.SS Multithreading (see pthreads(7))
+The
+.BR malloc_usable_size ()
+function is thread-safe.
 .SH CONFORMING TO
 This function is a GNU extension.
 .SH NOTES
Signature · 7 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html