/* Returns: TRUE if @stream is closed. FALSE otherwise.  */
gboolean g_output_stream_is_closed(GOutputStream *stream)
/* Returns: TRUE if @stream is closed. FALSE otherwise.  */
gboolean g_output_stream_is_closed(GOutputStream *stream)
{
  g_return_val_if_fail (G_IS_OUTPUT_STREAM (stream), TRUE);
  return stream->priv->closed;
}