mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-27 17:52:58 +02:00
Remove mention of non-existing calls from docs
The docs mentions a separate seekable API for the various file streams which don't actually exists. Change this to refer to the generic GSeekable calls.
This commit is contained in:
@@ -46,16 +46,16 @@
|
||||
* 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. In addition to the generic g_seekable_ API,
|
||||
* GFileIOStream has its own API for seeking and positioning.
|
||||
* To find the position of a file io stream, use
|
||||
* g_file_io_stream_tell().
|
||||
* operations.
|
||||
*
|
||||
* To find out if a file io stream supports seeking, use g_file_io_stream_can_seek().
|
||||
* To position a file io stream, use g_file_io_stream_seek().
|
||||
* To find the position of a file io stream, use
|
||||
* g_seekable_tell().
|
||||
*
|
||||
* To find out if a file io stream supports seeking, use g_seekable_can_seek().
|
||||
* To position a file io stream, use g_seekable_seek().
|
||||
* To find out if a file io stream supports truncating, use
|
||||
* g_file_io_stream_can_truncate(). To truncate a file io
|
||||
* stream, use g_file_io_stream_truncate().
|
||||
* g_seekable_can_truncate(). To truncate a file io
|
||||
* stream, use g_seekable_truncate().
|
||||
*
|
||||
* The default implementation of all the #GFileIOStream operations
|
||||
* and the implementation of #GSeekable just call into the same operations
|
||||
|
Reference in New Issue
Block a user