GRASS GIS 8 Programmer's Manual 8.4.1(2025)-45ca3179ab
|
GIS Library - Database name functions. More...
#include <string.h>
#include <grass/gis.h>
#include <grass/glocale.h>
Go to the source code of this file.
Functions | |
char * | G_myname (void) |
Returns location title. | |
GIS Library - Database name functions.
(C) 2001-2009 by the GRASS Development Team
This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Definition in file myname.c.
char * G_myname | ( | void | ) |
Returns location title.
Returns a one line title for the database location. This title is read from the file MYNAME in the PERMANENT mapset. See also Permanent_Mapset for a discussion of the PERMANENT mapset.
Note: This name is the first line in the file $GISDBASE/$LOCATION_NAME/PERMANENT/MYNAME
Definition at line 31 of file myname.c.
References G_file_name(), G_getl(), G_store(), name, and strcpy.