*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Linux man pages -> strpbrk (3)              
Title
Content
Arch
Section
 

STRPBRK(3)

Contents


NAME    [Toc]    [Back]

       strpbrk - search a string for any of a set of characters

SYNOPSIS    [Toc]    [Back]

       #include <string.h>

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

DESCRIPTION    [Toc]    [Back]

       The  strpbrk() function locates the first occurrence in the string s of
       any of the characters in the string accept.

RETURN VALUE    [Toc]    [Back]

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

CONFORMING TO    [Toc]    [Back]

       SVID 3, POSIX, BSD 4.3, ISO 9899

SEE ALSO    [Toc]    [Back]

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



				  1993-04-12			    STRPBRK(3)
[ Back ]
 Similar pages
Name OS Title
strspn Linux search a string for a set of characters
wcspbrk Linux search a wide-character string for any of a set of wide characters
wcscspn Linux search a wide-character string for any of a set of wide characters
rindex Tru64 Search for character in string
strrchr Tru64 Search for character in string
strchr Tru64 Search for character in string
index Tru64 Search for character in string
verify IRIX Verifies that a set of characters contains all characters in a string
bm_comp OpenBSD Boyer-Moore string search
bm NetBSD Boyer-Moore string search
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service