48static char *_make_toplevel(
void)
149static int _elem_count_split(
char *
elems)
190static char *_make_sublevels(
const char *
elems)
193 char *
cp, *
path, *top, *ptr;
197 if (
NULL == (top = _make_toplevel()))
207 if ((i = _elem_count_split(
cp)) < 1) {
295 path = _make_toplevel();
297 else if (item ==
NULL) {
298 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.