15 #include <grass/gis.h>
16 #include <grass/glocale.h>
33 static char mapset[GMAPSET_MAX];
43 else if (strcmp(mapset, m) == 0)
char * G_mapset(void)
current mapset name
int G__mapset_permissions(const char *mapset)
Check for user mapset permission.
char * G__getenv(const char *name)
Get environment variable.
int G_fatal_error(const char *msg,...)
Print a fatal error message to stderr.