sys_io_destroy  [fs/aio.c]


Removes an asynchronous I/O context from the list of I/O contexts and then destroys it. sys_io_destroy can also cancel any outstanding asynchronous I/O actions on the specified AIO context and block on completion.

Arguments

eax 246
ebx The AIO context.

Return values

If the system call succeeds the return value is 0.
If the system call fails the return value is one of the following errno values:

-EINVAL The AIO context specified by ebx is invalid.
-EFAULT The context pointed to is invalid.

Remarks

n/a

Compatibility

n/a