/* Returns: a #gssize containing the number of bytes written to the stream.  */
gssize g_output_stream_write_bytes_finish(GOutputStream *stream, GAsyncResult *result, GError **error)
/* Returns: a #gssize containing the number of bytes written to the stream.  */
gssize g_output_stream_write_bytes_finish(GOutputStream *stream, GAsyncResult *result, GError **error)
{
  g_return_val_if_fail (G_IS_OUTPUT_STREAM (stream), -1);
  g_return_val_if_fail (g_task_is_valid (result, stream), -1);
  return g_task_propagate_int (G_TASK (result), error);
}