home *** CD-ROM | disk | FTP | other *** search
- STRPBRK(3) Library Functions STRPBRK(3)
-
-
-
- NAME
- strpbrk - find the first occurance of a character of a set in
- a string
-
- SYNOPSIS
- #include <edlib.h>
-
- char *strpbrk(str, charset)
- char *str, *charset;
-
- DESCRIPTION
- Strpbrk searches forwards through the null terminated string
- 'str' for occurances of a character included in the character
- set 'charset'. The 'charset' variable is null terminated string
- that is treated as a character set. Therefore, repetition and
- order are ignored. Strpbrk returns a pointer to the first
- character of 'charset' that is found in 'str'.
-
- DIAGNOSTICS
- If no character in 'charset' is found in 'str', then a null
- pointer (NULL) is returned.
-
- AUTHOR
- Daniel J. Barrett.
- barrett@cs.jhu.edu or ins_adjb@jhunix.UUCP
-
- SEE ALSO
- strrpbrk(3), strcspn(3), strspn(3)
-
-
-
-