19 #include "gis_local_proto.h" 55 static int initialized;
56 static const char *home = 0;
66 home =
getenv(
"USERPROFILE");
69 sprintf(buf,
"%s%s",
getenv(
"HOMEDRIVE"),
getenv(
"HOMEPATH"));
100 static int initialized_config;
101 static const char *config_path = 0;
119 if (ret == -1 && errno != EEXIST)
const char * G__home(void)
Get user's home directory (internal use only)
void void void void G_fatal_error(const char *,...) __attribute__((format(printf
void G_initialize_done(int *)
const char * G_config_path(void)
Get user's config path directory.
int G_is_initialized(int *)
int G_mkdir(const char *)
Creates a new directory.
const char * G_home(void)
Get user's home directory.
char * G_store(const char *)
Copy string to allocated memory.