2.11BSD/man/cat3/strpbrk.0

Compare this file to the similar file:
Show the results in this format:




STRPBRK(3)	    UNIX Programmer's Manual	       STRPBRK(3)



NAME
     strpbrk - locate multiple characters in string

SYNOPSIS
     #include <string.h>

     char *
     strpbrk(s, charset)
     _c_h_a_r *_s;
     _c_h_a_r *_c_h_a_r_s_e_t;

DESCRIPTION
     The strpbrk() function locates in the null-terminated string
     _s the first occurrence of any character in the string _c_h_a_r_-
     _s_e_t and returns a pointer to this character.  If no charac-
     ters from _c_h_a_r_s_e_t occur anywhere in _s strpbrk() returns
     NULL.

SEE ALSO
     index(3), memchr(3), rindex(3), strchr(3), strcspn(3),
     strrchr(3), strsep(3), strspn(3), strstr(3), strtok(3)

STANDARDS
     The strpbrk() function conforms to ANSI C X3.159-1989
     )``ANSI C'').






























Printed 11/26/99	January 12, 1996			1