|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-55de52a352
|
GIS Library - Database name functions. More...

Go to the source code of this file.
Functions | |
| char * | G_myname (void) |
| Returns location title. | |
GIS Library - Database name functions.
SPDX-FileCopyrightText: 2001-2009 GRASS Development Team SPDX-License-Identifier: GPL-2.0-or-later
Definition in file myname.c.
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 28 of file myname.c.
References _, G_file_name(), G_getl(), G_store(), GNAME_MAX, GPATH_MAX, name, and strcpy.