]> git.saurik.com Git - apple/libc.git/blob - string/FreeBSD/strpbrk.3.patch
Libc-763.13.tar.gz
[apple/libc.git] / string / FreeBSD / strpbrk.3.patch
1 --- strpbrk.3.bsdnew 2009-11-18 18:24:36.000000000 -0800
2 +++ strpbrk.3 2009-11-18 18:24:36.000000000 -0800
3 @@ -43,20 +43,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