mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-20 07:38:54 +02:00
Documentation: Fixed minor typos and added more mentions of specific
2008-01-21 Murray Cumming,,, <murrayc@murrayc.com> * gfileenumerator.c: * gfileinputstream.c: * ginputstream.c: * goutputstream.c: Documentation: Fixed minor typos and added more mentions of specific _finish() functions. svn path=/trunk/; revision=6339
This commit is contained in:
committed by
Murray Cumming
parent
d8473705b0
commit
6aaab07e0f
@@ -1,3 +1,11 @@
|
|||||||
|
2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
|
||||||
|
|
||||||
|
* gfileenumerator.c:
|
||||||
|
* gfileinputstream.c:
|
||||||
|
* ginputstream.c:
|
||||||
|
* goutputstream.c: Documentation: Fixed minor typos
|
||||||
|
and added more mentions of specific _finish() functions.
|
||||||
|
|
||||||
2008-01-21 Alexander Larsson <alexl@redhat.com>
|
2008-01-21 Alexander Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
* inotify/Makefile.am:
|
* inotify/Makefile.am:
|
||||||
|
@@ -191,8 +191,8 @@ g_file_enumerator_next_file (GFileEnumerator *enumerator,
|
|||||||
* enumerator return %G_IO_ERROR_CLOSED on all calls.
|
* enumerator return %G_IO_ERROR_CLOSED on all calls.
|
||||||
*
|
*
|
||||||
* This will be automatically called when the last reference
|
* This will be automatically called when the last reference
|
||||||
* is dropped, but you might want to call make sure resources
|
* is dropped, but you might want to call this function to make
|
||||||
* are released as early as possible.
|
* sure resources are released as early as possible.
|
||||||
*
|
*
|
||||||
* Return value: #TRUE on success or #FALSE on error.
|
* Return value: #TRUE on success or #FALSE on error.
|
||||||
**/
|
**/
|
||||||
|
@@ -116,7 +116,7 @@ g_file_input_stream_init (GFileInputStream *stream)
|
|||||||
* @error: a #GError location to store the error occuring, or %NULL to
|
* @error: a #GError location to store the error occuring, or %NULL to
|
||||||
* ignore.
|
* ignore.
|
||||||
*
|
*
|
||||||
* Queries a file input stream the given @attributes.his function blocks
|
* Queries a file input stream the given @attributes. This function blocks
|
||||||
* while querying the stream. For the asynchronous (non-blocking) version
|
* while querying the stream. For the asynchronous (non-blocking) version
|
||||||
* of this function, see g_file_input_stream_query_info_async(). While the
|
* of this function, see g_file_input_stream_query_info_async(). While the
|
||||||
* stream is blocked, the stream will set the pending flag internally, and
|
* stream is blocked, the stream will set the pending flag internally, and
|
||||||
@@ -184,8 +184,13 @@ async_ready_callback_wrapper (GObject *source_object,
|
|||||||
* @callback: callback to call when the request is satisfied
|
* @callback: callback to call when the request is satisfied
|
||||||
* @user_data: the data to pass to callback function
|
* @user_data: the data to pass to callback function
|
||||||
*
|
*
|
||||||
* Queries the stream information asynchronously. For the synchronous
|
* Queries the stream information asynchronously.
|
||||||
* version of this function, see g_file_input_stream_query_info().
|
* When the operation is finished @callback will be called.
|
||||||
|
* You can then call g_file_input_stream_query_info_finish()
|
||||||
|
* to get the result of the operation.
|
||||||
|
*
|
||||||
|
* For the synchronous version of this function,
|
||||||
|
* see g_file_input_stream_query_info().
|
||||||
*
|
*
|
||||||
* If @cancellable is not %NULL, then the operation can be cancelled by
|
* If @cancellable is not %NULL, then the operation can be cancelled by
|
||||||
* triggering the cancellable object from another thread. If the operation
|
* triggering the cancellable object from another thread. If the operation
|
||||||
|
@@ -405,8 +405,8 @@ g_input_stream_real_skip (GInputStream *stream,
|
|||||||
* Closing a stream multiple times will not return an error.
|
* Closing a stream multiple times will not return an error.
|
||||||
*
|
*
|
||||||
* Streams will be automatically closed when the last reference
|
* Streams will be automatically closed when the last reference
|
||||||
* is dropped, but you might want to call make sure resources
|
* is dropped, but you might want to call this function to make sure
|
||||||
* are released as early as possible.
|
* resources are released as early as possible.
|
||||||
*
|
*
|
||||||
* Some streams might keep the backing store of the stream (e.g. a file descriptor)
|
* Some streams might keep the backing store of the stream (e.g. a file descriptor)
|
||||||
* open after the stream is closed. See the documentation for the individual
|
* open after the stream is closed. See the documentation for the individual
|
||||||
@@ -500,8 +500,9 @@ async_ready_close_callback_wrapper (GObject *source_object,
|
|||||||
* @user_data: the data to pass to callback function
|
* @user_data: the data to pass to callback function
|
||||||
*
|
*
|
||||||
* Request an asynchronous read of @count bytes from the stream into the buffer
|
* Request an asynchronous read of @count bytes from the stream into the buffer
|
||||||
* starting at @buffer. When the operation is finished @callback will be called,
|
* starting at @buffer. When the operation is finished @callback will be called.
|
||||||
* giving the results.
|
* You can then call g_input_stream_read_finish() to get the result of the
|
||||||
|
* operation.
|
||||||
*
|
*
|
||||||
* During an async request no other sync and async calls are allowed, and will
|
* During an async request no other sync and async calls are allowed, and will
|
||||||
* result in %G_IO_ERROR_PENDING errors.
|
* result in %G_IO_ERROR_PENDING errors.
|
||||||
@@ -624,8 +625,9 @@ g_input_stream_read_finish (GInputStream *stream,
|
|||||||
* @user_data: the data to pass to callback function
|
* @user_data: the data to pass to callback function
|
||||||
*
|
*
|
||||||
* Request an asynchronous skip of @count bytes from the stream into the buffer
|
* Request an asynchronous skip of @count bytes from the stream into the buffer
|
||||||
* starting at @buffer. When the operation is finished @callback will be called,
|
* starting at @buffer. When the operation is finished @callback will be called.
|
||||||
* giving the results.
|
* You can then call g_input_stream_skip_finish() to get the result of the
|
||||||
|
* operation.
|
||||||
*
|
*
|
||||||
* During an async request no other sync and async calls are allowed, and will
|
* During an async request no other sync and async calls are allowed, and will
|
||||||
* result in %G_IO_ERROR_PENDING errors.
|
* result in %G_IO_ERROR_PENDING errors.
|
||||||
@@ -746,7 +748,9 @@ g_input_stream_skip_finish (GInputStream *stream,
|
|||||||
* @user_data: the data to pass to callback function
|
* @user_data: the data to pass to callback function
|
||||||
*
|
*
|
||||||
* Requests an asynchronous closes of the stream, releasing resources related to it.
|
* Requests an asynchronous closes of the stream, releasing resources related to it.
|
||||||
* When the operation is finished @callback will be called, giving the results.
|
* When the operation is finished @callback will be called.
|
||||||
|
* You can then call g_input_stream_close_finish() to get the result of the
|
||||||
|
* operation.
|
||||||
*
|
*
|
||||||
* For behaviour details see g_input_stream_close().
|
* For behaviour details see g_input_stream_close().
|
||||||
*
|
*
|
||||||
|
@@ -342,7 +342,7 @@ g_output_stream_flush (GOutputStream *stream,
|
|||||||
*
|
*
|
||||||
* Splices an input stream into an output stream.
|
* Splices an input stream into an output stream.
|
||||||
*
|
*
|
||||||
* Returns: a #gssize containig the size of the data spliced.
|
* Returns: a #gssize containing the size of the data spliced.
|
||||||
**/
|
**/
|
||||||
gssize
|
gssize
|
||||||
g_output_stream_splice (GOutputStream *stream,
|
g_output_stream_splice (GOutputStream *stream,
|
||||||
@@ -474,8 +474,8 @@ g_output_stream_real_splice (GOutputStream *stream,
|
|||||||
* stream.
|
* stream.
|
||||||
*
|
*
|
||||||
* Streams will be automatically closed when the last reference
|
* Streams will be automatically closed when the last reference
|
||||||
* is dropped, but you might want to call make sure resources
|
* is dropped, but you might want to call this function to make sure
|
||||||
* are released as early as possible.
|
* resources are released as early as possible.
|
||||||
*
|
*
|
||||||
* Some streams might keep the backing store of the stream (e.g. a file descriptor)
|
* Some streams might keep the backing store of the stream (e.g. a file descriptor)
|
||||||
* open after the stream is closed. See the documentation for the individual
|
* open after the stream is closed. See the documentation for the individual
|
||||||
@@ -585,8 +585,9 @@ async_ready_close_callback_wrapper (GObject *source_object,
|
|||||||
* @user_data: the data to pass to callback function
|
* @user_data: the data to pass to callback function
|
||||||
*
|
*
|
||||||
* Request an asynchronous write of @count bytes from @buffer into
|
* Request an asynchronous write of @count bytes from @buffer into
|
||||||
* the stream. When the operation is finished @callback will be called,
|
* the stream. When the operation is finished @callback will be called.
|
||||||
* giving the results.
|
* You can then call g_output_stream_write_finish() to get the result of the
|
||||||
|
* operation.
|
||||||
*
|
*
|
||||||
* During an async request no other sync and async calls are allowed,
|
* During an async request no other sync and async calls are allowed,
|
||||||
* and will result in %G_IO_ERROR_PENDING errors.
|
* and will result in %G_IO_ERROR_PENDING errors.
|
||||||
@@ -737,7 +738,12 @@ async_ready_splice_callback_wrapper (GObject *source_object,
|
|||||||
* @user_data: user data passed to @callback.
|
* @user_data: user data passed to @callback.
|
||||||
*
|
*
|
||||||
* Splices a stream asynchronously.
|
* Splices a stream asynchronously.
|
||||||
*
|
* When the operation is finished @callback will be called.
|
||||||
|
* You can then call g_output_stream_splice_finish() to get the
|
||||||
|
* result of the operation.
|
||||||
|
*
|
||||||
|
* For the synchronous, blocking version of this function, see
|
||||||
|
* g_output_stream_splice().
|
||||||
**/
|
**/
|
||||||
void
|
void
|
||||||
g_output_stream_splice_async (GOutputStream *stream,
|
g_output_stream_splice_async (GOutputStream *stream,
|
||||||
@@ -829,7 +835,11 @@ g_output_stream_splice_finish (GOutputStream *stream,
|
|||||||
* @user_data: the data to pass to callback function
|
* @user_data: the data to pass to callback function
|
||||||
*
|
*
|
||||||
* Flushes a stream asynchronously.
|
* Flushes a stream asynchronously.
|
||||||
*
|
* For behaviour details see g_output_stream_flush().
|
||||||
|
*
|
||||||
|
* When the operation is finished @callback will be
|
||||||
|
* called. You can then call g_output_stream_flush_finish() to get the
|
||||||
|
* result of the operation.
|
||||||
**/
|
**/
|
||||||
void
|
void
|
||||||
g_output_stream_flush_async (GOutputStream *stream,
|
g_output_stream_flush_async (GOutputStream *stream,
|
||||||
@@ -922,7 +932,8 @@ g_output_stream_flush_finish (GOutputStream *stream,
|
|||||||
*
|
*
|
||||||
* Requests an asynchronous close of the stream, releasing resources
|
* Requests an asynchronous close of the stream, releasing resources
|
||||||
* related to it. When the operation is finished @callback will be
|
* related to it. When the operation is finished @callback will be
|
||||||
* called, giving the results.
|
* called. You can then call g_output_stream_close_finish() to get
|
||||||
|
* the result of the operation.
|
||||||
*
|
*
|
||||||
* For behaviour details see g_output_stream_close().
|
* For behaviour details see g_output_stream_close().
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user