1*61193Sbostic.\" Copyright (c) 1990, 1991, 1993 2*61193Sbostic.\" The Regents of the University of California. All rights reserved. 341979Sbostic.\" 441979Sbostic.\" This code is derived from software contributed to Berkeley by 550326Sbostic.\" Chris Torek and the American National Standards Committee X3, 650326Sbostic.\" on Information Processing Systems. 750326Sbostic.\" 841979Sbostic.\" %sccs.include.redist.man% 941979Sbostic.\" 10*61193Sbostic.\" @(#)strpbrk.3 8.1 (Berkeley) 06/04/93 1141979Sbostic.\" 1248351Scael.Dd 1348351Scael.Dt STRPBRK 3 1448351Scael.Os 1548351Scael.Sh NAME 1648351Scael.Nm strpbrk 1748351Scael.Nd locate multiple characters in string 1848351Scael.Sh SYNOPSIS 1948351Scael.Fd #include <string.h> 2048351Scael.Ft char * 2148351Scael.Fn strpbrk "const char *s" "const char *charset" 2248351Scael.Sh DESCRIPTION 2348351ScaelThe 2448351Scael.Fn strpbrk 2548351Scaelfunction 2641979Sbosticlocates in the null-terminated string 2748351Scael.Fa s 2841979Sbosticthe first occurrence of any character in the string 2948351Scael.Fa charset 3041979Sbosticand returns a pointer to this character. 3141979SbosticIf no characters from 3248351Scael.Fa charset 3341979Sbosticoccur anywhere in 3448351Scael.Fa s 3548351Scael.Fn strpbrk 3641979Sbosticreturns NULL. 3748351Scael.Sh SEE ALSO 3848351Scael.Xr index 3 , 3948351Scael.Xr memchr 3 , 4048351Scael.Xr rindex 3 , 4148351Scael.Xr strchr 3 , 4248351Scael.Xr strcspn 3 , 4348351Scael.Xr strrchr 3 , 4448351Scael.Xr strsep 3 , 4548351Scael.Xr strspn 3 , 4648351Scael.Xr strstr 3 , 4748351Scael.Xr strtok 3 4848351Scael.Sh STANDARDS 4948351ScaelThe 5048351Scael.Fn strpbrk 5148351Scaelfunction 5248351Scaelconforms to 5348351Scael.St -ansiC . 54