GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
myname.c File Reference

GIS Library - Database name functions. More...

#include <string.h>
#include <grass/gis.h>
#include <grass/glocale.h>
Include dependency graph for myname.c:

Go to the source code of this file.


char * G_myname (void)
 Returns location title. More...

Detailed Description

GIS Library - Database name functions.

(C) 2001-2008 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.

GRASS GIS Development Team

Definition in file myname.c.

Function Documentation

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

Pointer to a string

Definition at line 35 of file myname.c.

References fclose(), fd, G__file_name(), G_getl(), and render::name.