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

diff --git a/man3/mbrlen.3 b/man3/mbrlen.3
index 4132bf8..02e8234 100644
--- a/man3/mbrlen.3
+++ b/man3/mbrlen.3
@@ -102,11 +102,17 @@ character, meaning that
.I n
should be increased.
.SH ATTRIBUTES
-.SS Multithreading (see pthreads(7))
-The
+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 mbrlen ()
-function is thread-safe with exceptions.
-It is not thread-safe if called with a NULL \fIps\fP parameter.
+T} Thread safety MT-Unsafe race:mbrlen/!ps
+.TE
.SH CONFORMING TO
C99.
.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 06:53:45 UTC
Permalink
Thanks, Haitao. Applied.

Cheers,

Michael
Post by Peng Haitao
---
man3/mbrlen.3 | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/man3/mbrlen.3 b/man3/mbrlen.3
index 4132bf8..02e8234 100644
--- a/man3/mbrlen.3
+++ b/man3/mbrlen.3
@@ -102,11 +102,17 @@ character, meaning that
.I n
should be increased.
.SH ATTRIBUTES
-.SS Multithreading (see pthreads(7))
-The
+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 mbrlen ()
-function is thread-safe with exceptions.
-It is not thread-safe if called with a NULL \fIps\fP parameter.
+T} Thread safety MT-Unsafe race:mbrlen/!ps
+.TE
.SH CONFORMING TO
C99.
.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...