37 if (!fgets(title,
sizeof title, fd))
39 else if (!
G_getl(title,
sizeof title, fd))
int G_getl(char *, int, FILE *)
Gets a line of text from a file.
void G_strip(char *)
Removes all leading and trailing white space from string.
char * Rast_get_cell_title(const char *name, const char *mapset)
get raster map title
FILE * G_fopen_old(const char *, const char *, const char *)
Open a database file for reading.
char * G_store(const char *)
Copy string to allocated memory.