OSDN Git Service

(split) LDP: Update original to LDP v3.41.
[linuxjm/LDP_man-pages.git] / original / man3 / strspn.3
index d65f6f4..840fd4a 100644 (file)
@@ -25,9 +25,9 @@
 .\"     Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
 .\"     386BSD man pages
 .\" Modified Sat Jul 24 17:57:50 1993 by Rik Faith (faith@cs.unc.edu)
-.TH STRSPN 3  2010-09-20 "" "Linux Programmer's Manual"
+.TH STRSPN 3  2012-05-10 "" "Linux Programmer's Manual"
 .SH NAME
-strspn, strcspn \- search a string for a set of characters
+strspn, strcspn \- search a string for a set of bytes
 .SH SYNOPSIS
 .nf
 .B #include <string.h>
@@ -39,25 +39,25 @@ strspn, strcspn \- search a string for a set of characters
 .SH DESCRIPTION
 The
 .BR strspn ()
-function calculates the length of the initial
-segment of \fIs\fP which consists entirely of characters in
+function calculates the length (in bytes) of the initial
+segment of \fIs\fP which consists entirely of bytes in
 \fIaccept\fP.
 .PP
 The
 .BR strcspn ()
 function calculates the length of the initial
-segment of \fIs\fP which consists entirely of characters not in
+segment of \fIs\fP which consists entirely of bytes not in
 \fIreject\fP.
 .SH "RETURN VALUE"
 The
 .BR strspn ()
-function returns the number of characters in
-the initial segment of \fIs\fP which consist only of characters
+function returns the number of bytes in
+the initial segment of \fIs\fP which consist only of bytes
 from \fIaccept\fP.
 .PP
 The
 .BR strcspn ()
-function returns the number of characters in
+function returns the number of bytes in
 the initial segment of \fIs\fP which are not in the string
 \fIreject\fP.
 .SH "CONFORMING TO"