BOOTSTRAP (kcms) functions


LIBRARY ROUTINE

kcms_attr_int2string - translate integer attribute to string

LIBRARY CALL

kstring
kcms_attr_int2string(
   kcms_attr attribute,
   unsigned long value)

INPUT

OUTPUT

none

RETURN VALUE

A string corresponding to the integer value passed, or NULL if an invalid value is passed.

DESCRIPTION

This function is used to map an integer value to a string, where the integer is interpreted in the context of a specified attribute.

For example, the attribute KCMS_CMOBJ_TYPE is of type integer, and can take values KCMS_KROUTINE, KCMS_XVROUTINE, KCMS_PANE, KCMS_LIBRARY, and KCMS_SCRIPT. The string "kroutine" corresponds to the value KCMS_KROUTINE.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

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

SEE ALSO

kcms(3)

COPYRIGHT

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