#include <grass/gis.h>
Go to the source code of this file.
Functions | |
char * | G_gisbase () |
top level module directory |
char* G_gisbase | ( | ) |
top level module directory
Returns the full path name of the top level directory for GRASS programs. This directory will have subdirectories which will contain modules and files required for the running of the system. Some of these directories are:
bin commands run by the user etc modules and data files used by GRASS commands txt help files menu files used by the <i>grass3</i> menu interface
char command[200]; sprintf (command, "%s/etc/sroff", G_gisbase( ) ); system (command);
void |
Definition at line 42 of file gisbase.c.
References G_getenv().
Referenced by ellipsoid_table_file(), and G_ask_proj_name().