Method

GioOutputStreamis_closed

Declaration [src]

gboolean
g_output_stream_is_closed (
  GOutputStream* stream
)

Description [src]

Checks if an output stream has been closed.

This only indicates whether the stream has been closed from this end by calling g_output_stream_close(). If the stream is a pipe or socket, for example, and the process on the other end has closed its end, this method will still return false. Methods which try to write to the output stream will return an error, however.

Return value

Type: gboolean

True if the stream has been closed; false otherwise.