GRASS Programmer's Manual 6.4.1(2011)
gisbase.c
Go to the documentation of this file.
00001 
00002 /**********************************************************************
00003  *
00004  *   char *
00005  *   G_gisbase()
00006  *
00007  *   returns:    pointer to string containing the base directory of
00008  *               GRASS-GRID
00009  **********************************************************************/
00010 
00011 #include <grass/gis.h>
00012 
00013 
00042 char *G_gisbase(void)
00043 {
00044     return G_getenv("GISBASE");
00045 }
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines