|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-4bb960b182
|
GIS Library - Check for overwrite. More...

Go to the source code of this file.
Functions | |
| int | G_check_overwrite (int argc, char **argv) |
| Check for overwrite mode. | |
GIS Library - Check for overwrite.
SPDX-FileCopyrightText: 2001-2008, 2010 GRASS Development Team SPDX-License-Identifier: GPL-2.0-or-later
Definition in file overwrite.c.
Check for overwrite mode.
Check variables OVERWRITE, GRASS_OVERWRITE and '–o' flag.
The parser G_parser() checks if the map already exists in current mapset, we can switch out the check and do it in the module after the parser.
| argc | number of arguments |
| argv | array of arguments |
Definition at line 31 of file overwrite.c.
References G_getenv_nofatal(), and G_setenv_nogisrc().