00001 /********************************************************************** 00002 * 00003 * char * 00004 * G_gisbase() 00005 * 00006 * returns: pointer to string containing the base directory of 00007 * GRASS-GRID 00008 **********************************************************************/ 00009 00010 #include <grass/gis.h> 00011 00012 00041 char * 00042 G_gisbase() 00043 { 00044 return G_getenv ("GISBASE"); 00045 }