Description Methods and Functions Hierarchy Interfaces Detailed Description Structures Author(s) References
File read and write streaming operations
gFileIOStreamGetEtag(object)
gFileIOStreamQueryInfo(object, attributes, cancellable = NULL, .errwarn = TRUE)
gFileIOStreamQueryInfoAsync(object, attributes, io.priority, cancellable = NULL, callback, user.data = NULL)
gFileIOStreamQueryInfoFinish(object, result, .errwarn = TRUE)
1 2 3 | GObject
+----GIOStream
+----GFileIOStream
|
GFileIOStream implements
GSeekable
.
GFileIOStream provides io streams that both read and write to the same file handle.
GFileIOStream implements GSeekable
, which allows the io
stream to jump to arbitrary positions in the file and to truncate
the file, provided the filesystem of the file supports these
operations.
To find the position of a file io stream, use
gSeekableTell
.
To find out if a file io stream supports seeking, use gSeekableCanSeek
.
To position a file io stream, use gSeekableSeek
.
To find out if a file io stream supports truncating, use
gSeekableCanTruncate
. To truncate a file io
stream, use gSeekableTruncate
.
The default implementation of all the GFileIOStream
operations
and the implementation of GSeekable
just call into the same operations
on the output stream.
GFileIOStream
A subclass of GIOStream for opened files. This adds
a few file-specific operations and seeking and truncating.
GFileIOStream
implements GSeekable.
Derived by RGtkGen from GTK+ documentation
https://developer.gnome.org/gio/stable/GFileIOStream.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.