]> git.saurik.com Git - apple/libc.git/blob - string/FreeBSD/strspn.3.patch
Libc-498.1.7.tar.gz
[apple/libc.git] / string / FreeBSD / strspn.3.patch
1 --- _SB/Libc/string/FreeBSD/strspn.3 2003-05-20 15:23:55.000000000 -0700
2 +++ _SB/Libc/string/FreeBSD/strspn.3.edit 2006-06-28 16:55:53.000000000 -0700
3 @@ -47,17 +47,20 @@
4 .Sh SYNOPSIS
5 .In string.h
6 .Ft size_t
7 -.Fn strspn "const char *s" "const char *charset"
8 +.Fo strspn
9 +.Fa "const char *s1"
10 +.Fa "const char *s2"
11 +.Fc
12 .Sh DESCRIPTION
13 The
14 .Fn strspn
15 function
16 spans the initial part of the null-terminated string
17 -.Fa s
18 +.Fa s1 ,
19 as long as the characters from
20 -.Fa s
21 +.Fa s1
22 occur in string
23 -.Fa charset .
24 +.Fa s2 .
25 .Sh RETURN VALUES
26 The
27 .Fn strspn