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

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

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

Possibly related (same subject, not in this thread)

Thanks, Haitao, Applied.

Cheers,

Michael


On 08/05/2014 10:55 AM, Peng Haitao wrote:
quoted hunk
Signed-off-by: Peng Haitao <redacted>
---
 man3/strchr.3 | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/man3/strchr.3 b/man3/strchr.3
index 068d695..23a1f96 100644
--- a/man3/strchr.3
+++ b/man3/strchr.3
@@ -105,13 +105,19 @@ if the character is not found.
 .BR strchrnul ()
 first appeared in glibc in version 2.1.1.
 .SH ATTRIBUTES
-.SS Multithreading (see pthreads(7))
-The
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lbw32 lb lb
+l l l.
+Interface	Attribute	Value
+T{
 .BR strchr (),
 .BR strrchr (),
-and
 .BR strchrnul ()
-functions are thread-safe.
+T}	Thread safety	MT-Safe
+.TE
 .SH CONFORMING TO
 .BR strchr ()
 and

-- 
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