20 #include "gis_local_proto.h"
78 if (access(mapset, F_OK) != 0) {
103 G_malloc(strlen(base) + strlen(location) + strlen(mapset) + 3);
105 sprintf(mapset_path,
"%s/%s/%s", base, location, mapset);
void void void void G_fatal_error(const char *,...) __attribute__((format(printf
const char * G_gisdbase(void)
Get name of top level database directory.
const char * G_location(void)
Get current location name.
const char * G_getenv_nofatal(const char *)
Get environment variable.
char * G_mapset_path(void)
Get current mapset UNIX-like path.
const char * G_mapset(void)
Get current mapset name.
const char * G__mapset(void)
Get current mapset name (internal use only)
char * G__mapset_path(void)
Get current mapset UNIX-like path (internal use only)