Writes all of contents to a file named filename, with good error checking. If a file called filename already exists it will be overwritten. This write is atomic in the sense that it is first written to a temporary Since 2.8
name of a file to write contents to, in the GLib file name encoding. [type filename]
string to write to the file. [array length=length][element-type guint8]
TRUE on success, FALSE if an error occurred
GException on failure.
See Implementation
Writes all of contents to a file named filename, with good error checking. If a file called filename already exists it will be overwritten. This write is atomic in the sense that it is first written to a temporary Since 2.8