The util_put_string_to_file function writes a single line containing a string to a specified file.
#include <libproxy/cutil.h> int util_put_string_to_file(char *filename, char *str);
nonzero if the operation succeeded.
0 if the operation failed.
char *file is the name of the file to be read.
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