Line | |
---|
1 | ./"/* sys_io_setup: |
---|
2 | ./" * Create an aio_context capable of receiving at least nr_events. |
---|
3 | ./" * ctxp must not point to an aio_context that already exists, and |
---|
4 | ./" * must be initialized to 0 prior to the call. On successful |
---|
5 | ./" * creation of the aio_context, *ctxp is filled in with the resulting |
---|
6 | ./" * handle. May fail with -EINVAL if *ctxp is not initialized, |
---|
7 | ./" * if the specified nr_events exceeds internal limits. May fail |
---|
8 | ./" * with -EAGAIN if the specified nr_events exceeds the user's limit |
---|
9 | ./" * of available events. May fail with -ENOMEM if insufficient kernel |
---|
10 | ./" * resources are available. May fail with -EFAULT if an invalid |
---|
11 | ./" * pointer is passed for ctxp. Will fail with -ENOSYS if not |
---|
12 | ./" * implemented. |
---|
13 | ./" */ |
---|
14 | ./" -- note: libaio is actually providing io_queue_init and io_queue_grow |
---|
15 | ./" as separate functions. For now io_setup is the same as io_queue_grow. |
---|
Note: See
TracBrowser
for help on using the repository browser.