Method

GioOutputStreamis_closing

Declaration

gboolean
g_output_stream_is_closing (
  GOutputStream* stream
)

Description

Checks if an output stream is being closed. This can be used inside e.g. a flush implementation to see if the flush (or other i/o operation) is called from within the closing operation.

Available since:2.24

Return value

Returns: gboolean
 

TRUE if stream is being closed. FALSE otherwise.