Line | |
---|
1 | .TH aio_error64 3 2002-09-12 "Linux 2.4" Linux AIO" |
---|
2 | .SH NAME |
---|
3 | aio_error64 \- Return errors |
---|
4 | .SH SYNOPSYS |
---|
5 | .nf |
---|
6 | .B #include <errno.h> |
---|
7 | .sp |
---|
8 | .br |
---|
9 | .B #include <aio.h> |
---|
10 | .sp |
---|
11 | .br |
---|
12 | .BI "int aio_error64 (const struct aiocb64 *aiocbp)" |
---|
13 | .fi |
---|
14 | .SH DESCRIPTION |
---|
15 | This function is similar to |
---|
16 | .IR aio_error |
---|
17 | with the only difference |
---|
18 | that the argument is a reference to a variable of type |
---|
19 | .IR "struct aiocb64". |
---|
20 | .PP |
---|
21 | When the sources are compiled with |
---|
22 | .IR "_FILE_OFFSET_BITS == 64" |
---|
23 | this |
---|
24 | function is available under the name |
---|
25 | .IR aio_error |
---|
26 | and so |
---|
27 | transparently replaces the interface for small files on 32 bit |
---|
28 | machines. |
---|
29 | .SH "RETURN VALUES" |
---|
30 | If the request has not yet terminated the value returned is always |
---|
31 | .IR "EINPROGRESS" |
---|
32 | . Once the request has terminated the value |
---|
33 | .IR "aio_error" |
---|
34 | returns is either |
---|
35 | .I 0 |
---|
36 | if the request completed successfully or it returns the value which would be stored in the |
---|
37 | .IR "errno" |
---|
38 | variable if the request would have been done using |
---|
39 | .IR "read" |
---|
40 | , |
---|
41 | .IR "write" |
---|
42 | , or |
---|
43 | .IR "fsync" |
---|
44 | . |
---|
45 | .SH ERRORS |
---|
46 | See |
---|
47 | .IR aio_error(3). |
---|
48 | .SH "SEE ALSO" |
---|
49 | .BR aio(3), |
---|
50 | .BR aio_cancel(3), |
---|
51 | .BR aio_cancel64(3), |
---|
52 | .BR aio_error(3), |
---|
53 | .BR aio_fsync(3), |
---|
54 | .BR aio_fsync64(3), |
---|
55 | .BR aio_init(3), |
---|
56 | .BR aio_read(3), |
---|
57 | .BR aio_read64(3), |
---|
58 | .BR aio_return(3), |
---|
59 | .BR aio_return64(3), |
---|
60 | .BR aio_suspend(3), |
---|
61 | .BR aio_suspend64(3), |
---|
62 | .BR aio_write(3), |
---|
63 | .BR aio_write64(3), |
---|
64 | .BR errno(3), |
---|
Note: See
TracBrowser
for help on using the repository browser.