|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-8843f13794
|
GIS library - environment routines (gisdbase) More...
#include <grass/gis.h>
Go to the source code of this file.
Functions | |
| const char * | G_gisdbase (void) |
| Get name of top level database directory. | |
GIS library - environment routines (gisdbase)
SPDX-FileCopyrightText: 2001-2009 GRASS Development Team SPDX-License-Identifier: GPL-2.0-or-later
Definition in file gisdbase.c.
Get name of top level database directory.
Returns the full UNIX path name of the directory which holds the database locations.
Definition at line 22 of file gisdbase.c.
References G_getenv().
Referenced by G__location_path(), G__mapset_path(), G_make_location(), G_make_mapset(), G_write_projsrid(), G_write_projwkt(), Vect__open_old(), and Vect_hist_command().