BOOTSTRAP (kutils) functions


LIBRARY ROUTINE

kalias_list - returns a string array of aliases

LIBRARY CALL

char **kalias_list(
   size_t *num_entries)

INPUT

none

OUTPUT

RETURN VALUE

A malloc'ed string array of aliases upon success conversion of the alias list, otherwise NULL is returned. Note you should use kfree_and_NULL to free the array, NOT the karray_free, since the array contents are shared.

DESCRIPTION

This routine converts the global alias list for files specified by each toolbox's $TOOLBOX/repos/Alias file, and converts the alias names to an array of alphabetically sorted strings. This can be used for browsers to map aliases to real paths on disk.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

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

SEE ALSO

kutils(3)

COPYRIGHT

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