GRASS Programmer's Manual
6.4.1(2011)
|
GIS library - environment routines (gisdbase) More...
#include <grass/gis.h>
Go to the source code of this file.
Functions | |
char * | G_gisdbase (void) |
Get name of top level database directory. |
GIS library - environment routines (gisdbase)
(C) 2001-2008 by the GRASS Development Team
This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Definition in file gisdbase.c.
char* G_gisdbase | ( | void | ) |
Get name of top level database directory.
Returns the full UNIX path name of the directory which holds the database locations. See GISDBASE for a full explanation of this directory.
\return | pointer to string containing the base directory |
Definition at line 29 of file gisdbase.c.
References G_getenv().
Referenced by G__location_path(), G__make_location(), and G__make_mapset().