1aio.h(3HEAD)                        Headers                       aio.h(3HEAD)
2
3
4

NAME

6       aio.h, aio - asynchronous input and output
7

SYNOPSIS

9       #include <aio.h>
10
11

DESCRIPTION

13       The  <aio.h> header defines the aiocb structure which includes the fol‐
14       lowing members:
15
16         int               aio_fildes       file descriptor
17         off_t             aio_offset       file offset
18         volatile void*    aio_buf          location of buffer
19         size_t            aio_nbytes       length of transfer
20         int               aio_reqprio      request priority offset
21         struct sigevent   aio_sigevent     notification type
22         int               aio_lio_opcode   listio operation
23
24
25
26       This header also includes the following constants:
27
28       AIO_ALLDONE        A return value indicating that none of the requested
29                          operations  could be canceled since they are already
30                          complete.
31
32
33       AIO_CANCELED       A return value indicating that all requested  opera‐
34                          tions have been canceled.
35
36
37       AIO_NOTCANCELED    A return value indicating that some of the requested
38                          operations could not be canceled since they  are  in
39                          progress.
40
41
42       LIO_NOP            A lio_listio(3C) element operation option indicating
43                          that no transfer is requested.
44
45
46       LIO_NOWAIT         A lio_listio() synchronization operation  indicating
47                          that  the  calling  thread  is to continue execution
48                          while the lio_listio() operation is being performed,
49                          and  notification  is to be given when the operation
50                          is complete.
51
52
53       LIO_READ           A lio_listio() element operation option requesting a
54                          read.
55
56
57       LIO_WAIT           A  lio_listio() synchronization operation indicating
58                          that the calling thread  is  to  suspend  until  the
59                          lio_listio() operation is complete.
60
61
62       LIO_WRITE          A lio_listio() element operation option requesting a
63                          write.
64
65

SEE ALSO

67       lseek(2), read(2), write(2), fsync(3C), libaio(3LIB), lio_listio(3C)
68
69
70
71SunOS 5.11                        5 Feb 2008                      aio.h(3HEAD)
Impressum