GRASS Programmer's Manual
6.5.svn(2014)-r66266
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
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 Sat Jan 2 2016 01:46:48 for GRASS Programmer's Manual by
1.8.5