mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 15:36:14 +01:00
More docs
svn path=/trunk/; revision=6216
This commit is contained in:
parent
c7eee2ff00
commit
a3b0996156
@ -39,8 +39,14 @@
|
|||||||
* GFileInputStream provides input streams that take their
|
* GFileInputStream provides input streams that take their
|
||||||
* content from a file.
|
* content from a file.
|
||||||
*
|
*
|
||||||
* GFileInputStream implements #GSeekable, which allows
|
* GFileInputStream implements #GSeekable, which allows the input
|
||||||
* the input stream to jump to arbitrary positions in the file.
|
* stream to jump to arbitrary positions in the file, provided the
|
||||||
|
* filesystem of the file allows it. In addition to the generic
|
||||||
|
* g_seekable_ API, GFileInputStream has its own API for seeking
|
||||||
|
* and positioning. To find the position of a file input stream,
|
||||||
|
* use g_file_input_stream_tell(). To find out if a file input
|
||||||
|
* stream supports seeking, use g_file_input_stream_can_seek().
|
||||||
|
* To position a file input stream, use g_file_input_stream_seek().
|
||||||
**/
|
**/
|
||||||
|
|
||||||
static void g_file_input_stream_seekable_iface_init (GSeekableIface *iface);
|
static void g_file_input_stream_seekable_iface_init (GSeekableIface *iface);
|
||||||
|
@ -39,8 +39,18 @@
|
|||||||
* GFileOutputStream provides output streams that write their
|
* GFileOutputStream provides output streams that write their
|
||||||
* content to a file.
|
* content to a file.
|
||||||
*
|
*
|
||||||
* GFileOutputStream implements #GSeekable, which allows
|
* GFileOutputStream implements #GSeekable, which allows the output
|
||||||
* the output stream to jump to arbitrary positions in the file.
|
* 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,
|
||||||
|
* GFileOutputStream has its own API for seeking and positioning.
|
||||||
|
* To find the position of a file output stream, use
|
||||||
|
* g_file_output_stream_tell(). To find out if a file output
|
||||||
|
* stream supports seeking, use g_file_output_stream_can_seek().
|
||||||
|
* To position a file output stream, use g_file_output_stream_seek().
|
||||||
|
* To find out if a file output stream supports truncating, use
|
||||||
|
* g_file_output_stream_can_truncate(). To truncate a file output
|
||||||
|
* stream, use g_file_output_stream_truncate().
|
||||||
**/
|
**/
|
||||||
|
|
||||||
static void g_file_output_stream_seekable_iface_init (GSeekableIface *iface);
|
static void g_file_output_stream_seekable_iface_init (GSeekableIface *iface);
|
||||||
|
Loading…
Reference in New Issue
Block a user