50static char *_make_toplevel(
void)
151static int _elem_count_split(
char *
elems)
192static char *_make_sublevels(
const char *
elems)
195 char *
cp, *
path, *top, *ptr;
199 if (
NULL == (top = _make_toplevel()))
209 if ((i = _elem_count_split(
cp)) < 1) {
297 path = _make_toplevel();
299 else if (item ==
NULL) {
300 return _make_sublevels(
element);
void G_free(void *)
Free allocated memory.
int G_lstat(const char *, struct stat *)
Get file status.
char * G_store(const char *)
Copy string to allocated memory.
int G_mkdir(const char *)
Creates a new directory.
#define assert(condition)
char * G_rc_path(const char *element, const char *item)
Returns path to element and item.