openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/glib-2.0/1_2.60.3-r0/glib-2.60.3/gio/goutputstream.c
gssize g_output_stream_write_finish(GOutputStream* stream, GAsyncResult* result,
                                    GError** error)
{
    g_return_val_if_fail(G_IS_OUTPUT_STREAM(stream), FALSE);
    g_return_val_if_fail(g_task_is_valid(result, stream), FALSE);
    g_return_val_if_fail(
        g_async_result_is_tagged(result, g_output_stream_write_async), FALSE);

    /* @result is always the GTask created by g_output_stream_write_async();
     * we called class->write_finish() from async_ready_write_callback_wrapper.
     */
    return g_task_propagate_int(G_TASK(result), error);
}
/**
 * g_output_stream_write_finish:
 * @stream: a #GOutputStream.
 * @result: a #GAsyncResult.
 * @error: a #GError location to store the error occurring, or %NULL to
 * ignore.
 *
 * Finishes a stream write operation.
 *
 * Returns: a #gssize containing the number of bytes written to the stream.
 **/


Finishes a stream write operation.

a #gssize containing the number of bytes written to the stream.
Finishes a stream write operation . a #gssize containing the number of bytes written to the stream .
gssize g_output_stream_write_finish(GOutputStream* stream, GAsyncResult* result,
                                    GError** error)
{
    g_return_val_if_fail(G_IS_OUTPUT_STREAM(stream), FALSE);
    g_return_val_if_fail(g_task_is_valid(result, stream), FALSE);
    g_return_val_if_fail(
        g_async_result_is_tagged(result, g_output_stream_write_async), FALSE);
    return g_task_propagate_int(G_TASK(result), error);
}
gssize g_output_stream_write_finish ( GOutputStream * stream , GAsyncResult * result , GError * * error ) { g_return_val_if_fail ( G_IS_OUTPUT_STREAM ( stream ) , FALSE ) ; g_return_val_if_fail ( g_task_is_valid ( result , stream ) , FALSE ) ; g_return_val_if_fail ( g_async_result_is_tagged ( result , g_output_stream_write_async ) , FALSE ) ; return g_task_propagate_int ( G_TASK ( result ) , error ) ; }
g_output_stream_write_finish:
 @stream: a #GOutputStream.
g_output_stream_write_finish : @stream : a #GOutputStream .
/* @result is always the GTask created by g_output_stream_write_async();
     * we called class->write_finish() from async_ready_write_callback_wrapper.
     */