41 overwrite = atoi(overstr);
45 if (!overwrite && (overstr =
getenv(
"GRASS_OVERWRITE"))) {
46 overwrite = atoi(overstr);
53 for (i = 0; i < argc; i++) {
54 if (strcmp(argv[i],
"--o") == 0 ||
55 strcmp(argv[i],
"--overwrite") == 0) {
void G_setenv_nogisrc(const char *, const char *)
Set environment name to value (doesn't update .gisrc)
int G_check_overwrite(int argc, char **argv)
Check for overwrite mode.
const char * G_getenv_nofatal(const char *)
Get environment variable.