BOOTSTRAP (kutils) functions


LIBRARY ROUTINE

kprog_get_toolbox - gets the toolbox in which this program belongs.

LIBRARY CALL

char *kprog_get_toolbox(void)

INPUT

none

OUTPUT

none

RETURN VALUE

the current toolbox or NULL if not initialized

DESCRIPTION

Gets the name of the toolbox in which this program belongs.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

This routine returns a pointer to the private string used to store the toolbox variable. Use this as a read only resource; do NOT change or free this pointer.

MODIFICATION

none

FILES

$BOOTSTRAP/objects/library/kutils/src/program.c

SEE ALSO

kutils(3)

COPYRIGHT

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