16#include <grass/glocale.h>
41 if ((fd = fopen(
path,
"r"))) {
46 strcpy(
name, _(
"This location has no description."));
char * G_file_name(char *path, const char *element, const char *name, const char *mapset)
Builds full path names to GIS data files.
int G_getl(char *buf, int n, FILE *fd)
Gets a line of text from a file.
char * G_myname(void)
Returns location title.
char * G_store(const char *s)
Copy string to allocated memory.