Dex.aio_write
Description: Reference for Dex.aio_write

### Function

# Dexaio_write

#### Declaration [src]

    DexFuture*
    dex_aio_write (
      DexAioContext* aio_context,
      int fd,
      gconstpointer buffer,
      gsize count,
      goffset offset
    )

#### Description [src]

An asynchronous `pwrite()` wrapper.

#### 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: An array of `guint8`

  No description available.

  The length of the array is specified in the `count` argument.

`count`

  Type: `gsize`

  No description available.

`offset`

  Type: `goffset`

  No description available.

#### Return value

Type: `DexFuture`

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

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