seek


Description:

[ CCode ( vfunc_name = "Seek" ) ]
public virtual bool seek (off_t offset, SeekType whence)

Reposition in output stream this.

whence specifies what the offset is relative to: the beginning of the stream (g_seek_set) , current position in the stream (g_seek_cur) or the end of the stream ( g_seek_end). This function is similar to <citerefentry><refentrytitle>fseek</refentrytitle> <manvolnum>3 </manvolnum></citerefentry>.

Parameters:

this

Output

offset

Relative amount to reposition

whence

What the offset is relative to.

Returns:

false on error.