gFileLoadContents
Loads the content of the file into memory. The data is always
zero-terminated, but this is not included in the resultant length
.
gFileLoadContents(object, cancellable = NULL, .errwarn = TRUE)
|
input |
|
optional |
.errwarn |
Whether to issue a warning on error or fail silently |
If cancellable
is not NULL
, then the operation can be cancelled by
triggering the cancellable object from another thread. If the operation
was cancelled, the error G_IO_ERROR_CANCELLED
will be returned.
A list containing the following elements:
retval |
[logical] |
|
a location to place the contents of the file. |
|
a location to place the length of the contents of the file,
or |
|
a location to place the current entity tag for the file,
or |
|
a |
Derived by RGtkGen from GTK+ documentation
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.