home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
200-299
/
ff218.lzh
/
EdLib
/
man
/
StrPBrk
< prev
next >
Wrap
Text File
|
1989-06-04
|
895b
|
36 lines
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)