summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/strpbrk.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/string/strpbrk.3')
-rw-r--r--src/lib/libc/string/strpbrk.316
1 files changed, 6 insertions, 10 deletions
diff --git a/src/lib/libc/string/strpbrk.3 b/src/lib/libc/string/strpbrk.3
index 8578546c05..52bf13b924 100644
--- a/src/lib/libc/string/strpbrk.3
+++ b/src/lib/libc/string/strpbrk.3
@@ -33,8 +33,7 @@
33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34.\" SUCH DAMAGE. 34.\" SUCH DAMAGE.
35.\" 35.\"
36.\" from: @(#)strpbrk.3 5.4 (Berkeley) 6/29/91 36.\" $OpenBSD: strpbrk.3,v 1.5 2000/04/21 15:24:20 aaron Exp $
37.\" $Id: strpbrk.3,v 1.1.1.1 1995/10/18 08:42:23 deraadt Exp $
38.\" 37.\"
39.Dd June 29, 1991 38.Dd June 29, 1991
40.Dt STRPBRK 3 39.Dt STRPBRK 3
@@ -49,8 +48,7 @@
49.Sh DESCRIPTION 48.Sh DESCRIPTION
50The 49The
51.Fn strpbrk 50.Fn strpbrk
52function 51function locates in the null-terminated string
53locates in the null-terminated string
54.Fa s 52.Fa s
55the first occurrence of any character in the string 53the first occurrence of any character in the string
56.Fa charset 54.Fa charset
@@ -58,13 +56,12 @@ and returns a pointer to this character.
58If no characters from 56If no characters from
59.Fa charset 57.Fa charset
60occur anywhere in 58occur anywhere in
61.Fa s 59.Fa s ,
62.Fn strpbrk 60.Fn strpbrk
63returns NULL. 61returns
62.Dv NULL .
64.Sh SEE ALSO 63.Sh SEE ALSO
65.Xr index 3 ,
66.Xr memchr 3 , 64.Xr memchr 3 ,
67.Xr rindex 3 ,
68.Xr strchr 3 , 65.Xr strchr 3 ,
69.Xr strcspn 3 , 66.Xr strcspn 3 ,
70.Xr strrchr 3 , 67.Xr strrchr 3 ,
@@ -75,6 +72,5 @@ returns NULL.
75.Sh STANDARDS 72.Sh STANDARDS
76The 73The
77.Fn strpbrk 74.Fn strpbrk
78function 75function conforms to
79conforms to
80.St -ansiC . 76.St -ansiC .