Discussion:
[PATCH] malloc_usable_size.3: Reformat thread-safety information
Peng Haitao
2014-10-17 07:07:03 UTC
Permalink
Signed-off-by: Peng Haitao <penght-***@public.gmane.org>
---
man3/malloc_usable_size.3 | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/man3/malloc_usable_size.3 b/man3/malloc_usable_size.3
index 67f0e5c..a690072 100644
--- a/man3/malloc_usable_size.3
+++ b/man3/malloc_usable_size.3
@@ -46,10 +46,17 @@ If
.I ptr
is NULL, 0 is returned.
.SH ATTRIBUTES
-.SS Multithreading (see pthreads(7))
-The
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lbw20 lb lb
+l l l.
+Interface Attribute Value
+T{
.BR malloc_usable_size ()
-function is thread-safe.
+T} Thread safety MT-Safe
+.TE
.SH CONFORMING TO
This function is a GNU extension.
.SH NOTES
--
1.9.3

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Michael Kerrisk (man-pages)
2014-10-17 07:10:10 UTC
Permalink
Thanks, Haitao. Applied.

Cheers,

Michael
Post by Peng Haitao
---
man3/malloc_usable_size.3 | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/man3/malloc_usable_size.3 b/man3/malloc_usable_size.3
index 67f0e5c..a690072 100644
--- a/man3/malloc_usable_size.3
+++ b/man3/malloc_usable_size.3
@@ -46,10 +46,17 @@ If
.I ptr
is NULL, 0 is returned.
.SH ATTRIBUTES
-.SS Multithreading (see pthreads(7))
-The
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lbw20 lb lb
+l l l.
+Interface Attribute Value
+T{
.BR malloc_usable_size ()
-function is thread-safe.
+T} Thread safety MT-Safe
+.TE
.SH CONFORMING TO
This function is a GNU extension.
.SH NOTES
--
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 majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Loading...