GRASS Programmer's Manual  6.4.2(2012)
 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 }