BOOTSTRAP (kcms) functions


LIBRARY ROUTINE

kcms_get_copyright - get copyright comment for toolbox

LIBRARY CALL

kstring
kcms_get_copyright(
   kobject       toolbox,
   kcms_attr     attribute,
   unsigned long language)

INPUT

OUTPUT

none

RETURN VALUE

If the appropriate copyright could be found, then a string is returned which contains the copyright formatted within a comment for the specified language. If a copyright could not be found, or some other error occurred, then NULL will be returned.

NOTE: the string returned is kmalloc'd for your use. You should free the string when you are done.

DESCRIPTION

This routine is used to determine the copyright statement comment which should be used for a specified toolbox.

If the relevant copyright attribute is defined then this will be used, otherwise the copyright statement from the BOOTSTRAP toolbox will be used.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

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

SEE ALSO

kcms(3)

COPYRIGHT

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