Line | |
---|
1 | .TH io_queue_release 2 2002-09-03 "Linux 2.4" "Linux AIO" |
---|
2 | .SH NAME |
---|
3 | io_queue_release \- Release the context associated with the userspace handle |
---|
4 | .SH SYNOPSIS |
---|
5 | .nf |
---|
6 | .B #include <errno.h> |
---|
7 | .br |
---|
8 | .B #include <libaio.h> |
---|
9 | .br |
---|
10 | .sp |
---|
11 | .BI "int io_queue_release(io_context_t ctx)" |
---|
12 | .sp |
---|
13 | .SH DESCRIPTION |
---|
14 | .B io_queue_release |
---|
15 | destroys the context associated with the userspace handle. May cancel any outstanding |
---|
16 | AIOs and block on completion. |
---|
17 | |
---|
18 | .B cts. |
---|
19 | .SH "RETURN VALUES" |
---|
20 | On success, |
---|
21 | .B io_queue_release |
---|
22 | returns 0. Otherwise, -error is return, where |
---|
23 | error is one of the Exxx values defined in the Errors section. |
---|
24 | .SH ERRORS |
---|
25 | .TP |
---|
26 | .B EINVAL |
---|
27 | .I ctx |
---|
28 | refers to an unitialized aio context, the iocb pointed to by |
---|
29 | .I iocbs |
---|
30 | contains an improperly initialized iocb, |
---|
31 | .TP |
---|
32 | .B ENOSYS |
---|
33 | Not implemented |
---|
34 | .SH "SEE ALSO" |
---|
35 | .BR io(3), |
---|
36 | .BR io_cancel(3), |
---|
37 | .BR io_fsync(3), |
---|
38 | .BR io_getevents(3), |
---|
39 | .BR io_prep_fsync(3), |
---|
40 | .BR io_prep_pread(3), |
---|
41 | .BR io_prep_pwrite(3), |
---|
42 | .BR io_queue_init(3), |
---|
43 | .BR io_queue_run(3), |
---|
44 | .BR io_queue_wait(3), |
---|
45 | .BR io_set_callback(3), |
---|
46 | .BR io_submit(3), |
---|
47 | .BR errno(3) |
---|
48 | |
---|
Note: See
TracBrowser
for help on using the repository browser.