27 *location = *mapset = 0;
34 ok = (fscanf(fd,
"%s %s", location, mapset) == 2);
37 *location = *mapset = 0;
38 G_warning(
_(
"Unable to read target file for group [%s]"), group);
62 int I_put_target(
const char *group,
const char *location,
const char *mapset)
70 fprintf(fd,
"%s\n%s\n", location, mapset);
FILE * I_fopen_group_file_old(const char *, const char *)
Open group file for reading.
int I_put_target(const char *group, const char *location, const char *mapset)
write target information
int I_get_target(const char *group, char *location, char *mapset)
read target information
void int G_suppress_warnings(int)
Suppress printing a warning message to stderr.
FILE * I_fopen_group_file_new(const char *, const char *)
void G_warning(const char *,...) __attribute__((format(printf