]> git.saurik.com Git - apple/libc.git/blob - string/FreeBSD/strpbrk.3.patch
Libc-594.9.5.tar.gz
[apple/libc.git] / string / FreeBSD / strpbrk.3.patch
1 --- _SB/Libc/string/FreeBSD/strpbrk.3 2003-05-20 15:23:55.000000000 -0700
2 +++ _SB/Libc/string/FreeBSD/strpbrk.3.edit 2006-06-28 16:55:53.000000000 -0700
3 @@ -47,20 +47,23 @@
4 .Sh SYNOPSIS
5 .In string.h
6 .Ft char *
7 -.Fn strpbrk "const char *s" "const char *charset"
8 +.Fo strpbrk
9 +.Fa "const char *s1"
10 +.Fa "const char *s2"
11 +.Fc
12 .Sh DESCRIPTION
13 The
14 .Fn strpbrk
15 function
16 locates in the null-terminated string
17 -.Fa s
18 +.Fa s1
19 the first occurrence of any character in the string
20 -.Fa charset
21 -and returns a pointer to this character.
22 +.Fa s2 ,
23 +returning a pointer to this character.
24 If no characters from
25 -.Fa charset
26 +.Fa s2
27 occur anywhere in
28 -.Fa s
29 +.Fa s1 ,
30 .Fn strpbrk
31 returns NULL.
32 .Sh SEE ALSO