aio_write


Description:


public Future aio_write (AioContext? aio_context, int fd, uint8[] buffer, int64 offset)

An asynchronous `pwrite()` wrapper.

Generally you want to provide `NULL` for the aio_context as that will get the default aio context for your scheduler.

Parameters:

offset

the positioned offset within fd to write at

count

the number of bytes to write from buffer

Returns:

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


Namespace: Dex
Package: libdex-1