17#include <grass/glocale.h>
30 FILE *fp = fopen(
file,
"w");
60 fp = fopen(
file,
"r");
void G_fatal_error(const char *msg,...)
Print a fatal error message to stderr.
struct Key_Value * G_fread_key_value(FILE *fd)
Read key/values pairs from file.
int G_fwrite_key_value(FILE *fd, const struct Key_Value *kv)
Write key/value pairs to file.
void G_write_key_value_file(const char *file, const struct Key_Value *kv)
Write key/value pairs to file.
struct Key_Value * G_read_key_value_file(const char *file)
Read key/values pairs from file.