Seth Woolley's Man Viewer

strpbrk(3) - strpbrk, strpbrk - search a string for any of a set of characters - man 3 strpbrk

([section] manual, -k keyword, -K [section] search, -f whatis)
man plain no title

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



NAME
       strpbrk - search a string(3,n) for any of a set(7,n,1 builtins) of characters

SYNOPSIS
       #include <string.h>

       char *strpbrk(const char *s, const char *accept(2,8));

DESCRIPTION
       The  strpbrk() function locates the first occurrence in(1,8) the string(3,n) s of
       any of the characters in(1,8) the string(3,n) accept(2,8).

RETURN VALUE
       The strpbrk() function returns a pointer to the  character  in(1,8)  s  that
       matches  one  of the characters in(1,8) accept(2,8), or NULL if(3,n) no such character
       is found.

CONFORMING TO
       SVID 3, POSIX, BSD 4.3, ISO 9899

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



                                  1993-04-12                        STRPBRK(3)

References for this manual (incoming links)