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.