home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
alib
/
d1xx
/
d183
/
mklib.lha
/
Mklib
/
Edlib
/
strspn.c
< prev
next >
Wrap
C/C++ Source or Header
|
1989-02-26
|
307b
|
16 lines
/* edlib version 1.0 of 04/08/88 */
/* Return the number of characters from "charset" that are at the BEGINNING
* of string "str".
*/
int strspn(str, charset)
char *str, *charset;
{
char *temp = str;
while ( index(charset, *temp) )
++temp;
return(temp - str);
}