Thread (1 message) 1 message, 1 author, 2014-08-15

Re: [PATCH] strcmp.3: Reformat thread-safety information

From: Michael Kerrisk (man-pages) <hidden>
Date: 2014-08-15 18:34:04

Possibly related (same subject, not in this thread)

Thanks, Haitao, Applied.

Cheers,

Michael


On 08/04/2014 11:11 AM, Peng Haitao wrote:
quoted hunk
Signed-off-by: Peng Haitao <redacted>
---
 man3/strcmp.3 | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/man3/strcmp.3 b/man3/strcmp.3
index 04c3986..f95997e 100644
--- a/man3/strcmp.3
+++ b/man3/strcmp.3
@@ -77,12 +77,18 @@ bytes thereof) is found, respectively, to be less than, to
 match, or be greater than
 .IR s2 .
 .SH ATTRIBUTES
-.SS Multithreading (see pthreads(7))
-The
-.BR strcmp ()
-and
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lbw19 lb lb
+l l l.
+Interface	Attribute	Value
+T{
+.BR strcmp (),
 .BR strncmp ()
-functions are thread-safe.
+T}	Thread safety	MT-Safe
+.TE
 .SH CONFORMING TO
 SVr4, 4.3BSD, C89, C99.
 .SH SEE ALSO

-- 
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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help