41 if ((fd = fopen(path,
"r"))) {
42 ok =
G_getl(name,
sizeof name, fd);
46 strcpy(name,
_(
"This location has no description."));
char * G_myname(void)
Returns location title.
int G_getl(char *, int, FILE *)
Gets a line of text from a file.
char * G_file_name(char *, const char *, const char *, const char *)
Builds full path names to GIS data files.
char * G_store(const char *)
Copy string to allocated memory.