Dex.aio_read
Description: Reference for Dex.aio_read

### Function

# Dexaio_read

unstable since: 1

#### Declaration [src]

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

#### Description [src]

An asynchronous `pread()` wrapper.

Available since: 1

#### Parameters

`aio_context`

  Type: `DexAioContext`

  No description available.

  The data is owned by the caller of the function.

`fd`

  Type: `int`

  No description available.

`buffer`

  Type: `gpointer`

  No description available.

  The argument can be `NULL`.
  The data is owned by the caller of the function.

`count`

  Type: `gsize`

  No description available.

`offset`

  Type: `goffset`

  No description available.

#### Return value

Type: `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.