source: trunk/packages/xen-3.1/xen-3.1/tools/libaio/man/aio_error64.3 @ 34

Last change on this file since 34 was 34, checked in by hartmans, 18 years ago

Add xen and xen-common

File size: 1.3 KB
Line 
1.TH aio_error64 3 2002-09-12 "Linux 2.4" Linux AIO"
2.SH NAME
3aio_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
15This function is similar to
16.IR aio_error
17with the only difference
18that the argument is a reference to a variable of type
19.IR "struct aiocb64".
20.PP
21When the sources are compiled with
22.IR "_FILE_OFFSET_BITS == 64"
23this
24function is available under the name
25.IR aio_error
26and so
27transparently replaces the interface for small files on 32 bit
28machines.
29.SH "RETURN VALUES"
30If 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"
34returns is either
35.I 0
36if the request completed successfully or it returns the value which would be stored in the
37.IR "errno"
38variable if the request would have been done using
39.IR "read"
40,
41.IR "write"
42, or
43.IR "fsync"
44.
45.SH ERRORS
46See
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.