OSDN Git Service

(split) LDP: Update original to LDP v3.52.
[linuxjm/LDP_man-pages.git] / original / man3 / strspn.3
index c043ecc..f8a0b59 100644 (file)
@@ -42,26 +42,35 @@ strspn, strcspn \- search a string for a set of bytes
 The
 .BR strspn ()
 function calculates the length (in bytes) of the initial
-segment of \fIs\fP which consists entirely of bytes in
-\fIaccept\fP.
+segment of
+.I s
+which consists entirely of bytes in
+.IR accept .
 .PP
 The
 .BR strcspn ()
 function calculates the length of the initial
-segment of \fIs\fP which consists entirely of bytes not in
-\fIreject\fP.
+segment of
+.I s
+which consists entirely of bytes not in
+.IR reject .
 .SH RETURN VALUE
 The
 .BR strspn ()
 function returns the number of bytes in
-the initial segment of \fIs\fP which consist only of bytes
-from \fIaccept\fP.
+the initial segment of
+.I s
+which consist only of bytes
+from
+.IR accept .
 .PP
 The
 .BR strcspn ()
 function returns the number of bytes in
-the initial segment of \fIs\fP which are not in the string
-\fIreject\fP.
+the initial segment of
+.I s
+which are not in the string
+.IR reject .
 .SH CONFORMING TO
 SVr4, 4.3BSD, C89, C99.
 .SH SEE ALSO