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
/
StrCSPN
< prev
next >
Wrap
Text File
|
1989-06-04
|
866b
|
34 lines
STRCSPN(3) Library Functions STRCSPN(3)
NAME
strcspn - find the length of the longest intial segment of a
string that consists of characters not from a certain set.
SYNOPSIS
#include <edlib.h>
int strcspn(str, charset)
char *str, *charset;
DESCRIPTION
Strcspn searches the null terminated string 'str' for characters
in the set 'charset'. The length of the longest intial string
that consists of characters not from 'charset' is returned. If no
characters of 'str' are also members of 'charset', then the
length of 'str' is returned. If 'charset' is null then this
will also cause the full length of 'str' to be returned.
This function is also known as instr.
AUTHOR
Daniel J. Barrett.
barrett@cs.jhu.edu or ins_adjb@jhunix.UUCP
SEE ALSO
strspn(3)