charset - The string used to determin the character set
to use.
OUTPUT
none
RETURN VALUE
The number of characters matched in the input string,
from the 'charset'. If every character in the input string
is a member of set of characters defined by 'charset', the
length of 'istr' is returned. If either 'istr'
or 'charset' are NULL, a value of 0 is returned.
DESCRIPTION
This function returns the length of the input string that
consists completely of a specified list of characters.
This routine is similiar to the system routine strspn().
It counts the number of characters at the start of the
input string that consist entirely of characters from
the 'charset' string. The count stops at the first
character in the input string that is not in the charset
string.
ADDITIONAL INFORMATION
none
EXAMPLES
none
SIDE EFFECTS
none
RESTRICTIONS
none
MODIFICATION
none
FILES
$BOOTSTRAP/objects/library/kutils/src/strings.c
SEE ALSO
kutils(3)
COPYRIGHT
Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.