NAME

write_file() - appends a string to a file

SYNOPSIS

int write_file(string file, string str);

DESCRIPTION

Append the string `str' into the file `file'. Returns 0 or 1 for failure or success.

SEE ALSO

file_size(3) , cat(3) , log_file(3) .