Function nc::io_destroy
source · pub unsafe fn io_destroy(ctx_id: aio_context_t) -> Result<(), Errno>
Expand description
Destroy the aio_context
specified.
May cancel any outstanding AIOs and block on completion.
Will fail with -ENOSYS
if not implemented.
May fail with -EINVAL
if the context pointed to is invalid.