GLib.FileUtils.set_contents – glib-2.0 Reference Manual
Packages
glib-2.0
GLib
FileUtils
chmod
close
close_checked
error_from_errno
get_contents
get_data
mkstemp
open_tmp
read_link
remove
rename
set_contents
set_data
symlink
test
unlink
utime
set_contents
Description:
[
Version
( since =
"2.8"
) ]
public
bool
set_contents
(
string
filename,
string
contents,
ssize_t
length =
-1
)
throws
FileError
Namespace:
GLib.FileUtils
Package:
glib-2.0