OSDN Git Service

LDP: Update original to LDP v3.79
[linuxjm/LDP_man-pages.git] / original / man3 / strlen.3
index 2477899..5329da1 100644 (file)
@@ -1,5 +1,6 @@
 .\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk)
 .\"
+.\" %%%LICENSE_START(VERBATIM)
 .\" Permission is granted to make and distribute verbatim copies of this
 .\" manual provided the copyright notice and this permission notice are
 .\" preserved on all copies.
 .\"
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
+.\" %%%LICENSE_END
 .\"
 .\" References consulted:
 .\"     Linux libc source code
 .\"     Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
 .\"     386BSD man pages
 .\" Modified Sat Jul 24 18:02:26 1993 by Rik Faith (faith@cs.unc.edu)
-.TH STRLEN 3  2011-09-28 "GNU" "Linux Programmer's Manual"
+.TH STRLEN 3  2014-02-25 "GNU" "Linux Programmer's Manual"
 .SH NAME
 strlen \- calculate the length of a string
 .SH SYNOPSIS
@@ -38,15 +40,31 @@ strlen \- calculate the length of a string
 The
 .BR strlen ()
 function calculates the length of the string
-\fIs\fP, excluding the terminating null byte (\(aq\\0\(aq).
-.SH "RETURN VALUE"
+.IR s ,
+excluding the terminating null byte (\(aq\\0\(aq).
+.SH RETURN VALUE
 The
 .BR strlen ()
-function returns the number of characters in \fIs\fP.
-.SH "CONFORMING TO"
+function returns the number of bytes in the string
+.IR s .
+.SH ATTRIBUTES
+.SS Multithreading (see pthreads(7))
+The
+.BR strlen ()
+function is thread-safe.
+.SH CONFORMING TO
 SVr4, 4.3BSD, C89, C99.
-.SH "SEE ALSO"
+.SH SEE ALSO
 .BR string (3),
 .BR strnlen (3),
 .BR wcslen (3),
 .BR wcsnlen (3)
+.SH COLOPHON
+This page is part of release 3.79 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/.