17 #include <sys/types.h> 21 #include "gis_local_proto.h" 59 if (access(location, F_OK) != 0) {
82 char *location =
G_malloc(strlen(base) + strlen(name) + 2);
84 sprintf(location,
"%s%c%s", base,
HOST_DIRSEP, name);
const char * G_location(void)
Get current location name.
void void void void G_fatal_error(const char *,...) __attribute__((format(printf
const char * G_gisdbase(void)
Get name of top level database directory.
char * G__location_path(void)
Get current location UNIX-like path (internal use only)
char * G_location_path(void)
Get current location UNIX-like path.
const char * G_getenv(const char *)
Get environment variable.