Function

Dexaio_read

Declaration [src]

DexFuture*
dex_aio_read (
  DexAioContext* aio_context,
  int fd,
  gpointer buffer,
  gsize count,
  goffset offset
)

Description [src]

An asynchronous pread() wrapper.

Parameters

aio_context DexAioContext
  No description available.
 The data is owned by the caller of the function.
fd int
  No description available.
buffer gpointer
  No description available.
count gsize
  No description available.
offset goffset
  No description available.

Return value

Returns: DexFuture
 

A future that will resolve when the read completes or rejects with error.

 The caller of the function takes ownership of the data, and is responsible for freeing it.