Virtual Method

GioIOStreamclose_finish

Declaration

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

Description

Closes a stream.

Available since:2.22

Parameters

result

Type: GAsyncResult

A GAsyncResult.

The data is owned by the caller of the function.
error

Type: GError **

The return location for a GError*, or NULL.

Return value

Type: gboolean

TRUE if stream was successfully closed, FALSE otherwise.