GRASS Programmer's Manual
6.4.4(2014)-r
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
gisbase.c
Go to the documentation of this file.
1
2
/**********************************************************************
3
*
4
* char *
5
* G_gisbase()
6
*
7
* returns: pointer to string containing the base directory of
8
* GRASS-GRID
9
**********************************************************************/
10
11
#include <grass/gis.h>
12
13
42
char
*
G_gisbase
(
void
)
43
{
44
return
G_getenv
(
"GISBASE"
);
45
}
G_getenv
char * G_getenv(const char *name)
Get environment variable.
Definition:
env.c:267
G_gisbase
char * G_gisbase(void)
top level module directory
Definition:
gisbase.c:42
lib
gis
gisbase.c
Generated on Wed Mar 18 2015 05:21:41 for GRASS Programmer's Manual by
1.8.9.1