BOOTSTRAP (kcms) functions


LIBRARY ROUTINE

kcms_legal_identifier - check string for legality as an id

LIBRARY CALL

int
kcms_legal_identifier(
   kstring  string,
   int      kotype)

INPUT

OUTPUT

none

RETURN VALUE

TRUE (1) if the string is acceptable, FALSE (0) otherwise.

DESCRIPTION

This function takes a string and checks to see whether it contains any illegal characters with respect to using the string as an identifier in kcms, such as an object name.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

$BOOTSTRAP/objects/library/kcms/src/utilities.c

SEE ALSO

kcms(3)

COPYRIGHT

Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.