io_queue_release(2)

io_queue_release2

Release the context associated with the userspace handle

Usage

#include <errno.h>
#include <libaio.h>

int io_queue_release(io_context_t ctx);

Overview

io_queue_release destroys the context associated with the userspace handle. May cancel any outstanding AIOs and block on completion.

cts.

Return values

On success, io_queue_release returns 0. Otherwise, -error is return, where error is one of the Exxx values defined in the Errors section.

Errors

EINVAL

ctx refers to an uninitialized aio context, the iocb pointed to by iocbs contains an improperly initialized iocb.

ENOSYS

Not implemented.

Releases

6 releases since Debian 4.0 (Etch); the text changed 2 times.

  1. 4.0–5.0
  2. 6.0–8
  3. 9

From libaio-dev 0.3.110-3 in Debian 9 (Stretch). Parsed by carta from the page's man source.