Creates an asynchronous I/O context.
Arguments
eax |
245 |
ebx |
Least number of events that the new context will be capable to receive. |
ecx |
Pointer to an 32bit wide buffer which will hold the returned handle. This buffer should be initialized to 0 prior to calling the sys_io_setup. |
Return values
If the system call succeeds the return value is 0 and the buffer pointed by ecx holds resulting handle.
If the system call fails the return value is one of the following errno values:
-EINVAL |
Buffer pointed by ecx is not initialized, or the specified least number of events exceeds internal limits. ebx should be greater than 0. |
-EFAULT |
ecx points to invalid data. |
-ENOMEM |
Insufficient kernel resources are available. |
-EAGAIN |
The specified least number of events exceeds the user's limit of available events. |
|
Remarks
n/a
Compatibility
n/a |