.\"appends a string to a file .DT write_file $MUDNAME$ driver help write_file .SH Name .SI 5 write_file() - appends or writes a string to a file .EI .SH Synopsis .SI 5 int write_file( string file, string str, int flag ); .EI .SH Description .SP 5 5 Append the string `str' into the file `file'. Returns 0 or 1 for failure or success. If `flag' is 1, write_file() overwrites instead of appending. .EP .SH See also .SI 5 read_file(), write_buffer(), file_size() .EI