Method

GioInputStreamread_finish

Declaration

gssize
g_input_stream_read_finish (
  GInputStream* stream,
  GAsyncResult* result,
  GError** error
)

Description

Finishes an asynchronous stream read operation.

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: gssize
 

Number of bytes read in, or -1 on error, or 0 on end of file.