Tests if the stream supports the GSeekableIface.
Tests if the stream can be truncated.
Get the main Gtk struct
the main Gtk struct as a void*
Seeks in the stream by the given offset, modified by type. 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.
Tells the current position within the stream.
Truncates a stream with a given offset. 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. If an operation was partially finished when the operation was cancelled the partial result will be returned, without an error. Virtual: truncate_fn
GSeekable is implemented by streams (implementations of GInputStream or GOutputStream) that support seeking.