OSDN Git Service

LDP: Update original to LDP v3.68
[linuxjm/LDP_man-pages.git] / original / man3 / strchr.3
index b563d12..37575eb 100644 (file)
@@ -30,7 +30,7 @@
 .\" 2006-05-19, Justin Pryzby <pryzbyj@justinpryzby.com>
 .\"    Document strchrnul(3).
 .\"
-.TH STRCHR 3  2012-04-24 "GNU" "Linux Programmer's Manual"
+.TH STRCHR 3  2014-01-20 "GNU" "Linux Programmer's Manual"
 .SH NAME
 strchr, strrchr, strchrnul \- locate character in string
 .SH SYNOPSIS
@@ -96,11 +96,22 @@ The
 function returns a pointer to
 the matched character,
 or a pointer to the null
-byte at the end of \fIs\fP (i.e., \fIs+strlen(s)\fP)
+byte at the end of
+.I s
+(i.e.,
+.IR "s+strlen(s)" )
 if the character is not found.
 .SH VERSIONS
 .BR strchrnul ()
 first appeared in glibc in version 2.1.1.
+.SH ATTRIBUTES
+.SS Multithreading (see pthreads(7))
+The
+.BR strchr (),
+.BR strrchr (),
+and
+.BR strchrnul ()
+functions are thread-safe.
 .SH CONFORMING TO
 .BR strchr ()
 and
@@ -121,3 +132,12 @@ is a GNU extension.
 .BR strtok (3),
 .BR wcschr (3),
 .BR wcsrchr (3)
+.SH COLOPHON
+This page is part of release 3.68 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.