BOOTSTRAP (kcms) functions


LIBRARY ROUTINE

kcms_query_toolboxes - determine available toolboxes

LIBRARY CALL

kstring *
kcms_query_toolboxes(
   size_t *count)

INPUT

none

OUTPUT

RETURN VALUE

An array of string pointers, or NULL on failure.

DESCRIPTION

This routine determines the list of available toolboxes, and returns an array of string pointers containing the names of the toolboxes.

The use of this function is illustrated by the following code:

   kstring  *toolbox_names;
   int       toolbox_count;
   int       i;

toolbox_names = kcms_query_toolboxes(&toolbox_count); for (i = 0; i < toolbox_count; i++) kprintf("Toolbox %d is %s\n", i, toolbox_names[i]);

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

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

SEE ALSO

kcms(3)

COPYRIGHT

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