Method

GioIOStreamclose_finish

Declaration

gboolean
g_io_stream_close_finish (
  GIOStream* stream,
  GAsyncResult* result,
  GError** error
)

Description

Closes a stream.

Available since:2.22

Parameters

result GAsyncResult
 

A GAsyncResult.

 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE if stream was successfully closed, FALSE otherwise.