GRASS GIS 7 Programmer's Manual
7.0.3(2016)-r00000
Main Page
Related Pages
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
41
const
char
*
G_gisbase
(
void
)
42
{
43
return
G_getenv
(
"GISBASE"
);
44
}
G_gisbase
const char * G_gisbase(void)
Get full path name of the top level module directory.
Definition:
gisbase.c:41
G_getenv
const char * G_getenv(const char *name)
Get environment variable.
Definition:
env.c:336
gis
gisbase.c
Generated on Tue Apr 26 2016 10:15:47 for GRASS GIS 7 Programmer's Manual by
1.8.11