The util_put_string_to_aux_file function writes a single line containing a string to a file specified by directory name and file name.
#include <libproxy/cutil.h> int util_put_string_to_aux_file(char *root, char *name, char *str);
non-zero if the operation succeeded.
0 if the operation failed.
char *root is the name of the directory where the file is to be written.
char *name is the name of the file is to be written.
char *str is the string to write.
util_get_int_from_file, util_get_long_from_file, util_put_int_to_file, util_put_long_to_file, util_put_string_to_file