aio.h — Asynchronous I/O operations
The
aio.h
header file contains definitions for asynchronous I/O operations. It
declares these functions:
aio_read() | aio_write() | aio_cancel() |
aio_suspend() | aio_error() | aio_return() |
Note: There are several sockets oriented extensions to asynchronous I/O available with
the BPX1AIO callable service, such as asynchronous
accept()
, asynchronous
accept_and_recv()
, asynchronous forms of all five pairs of read and write type
operations, and receiving I/O completion notifications via an ECB, exit program, or through a
message queue. The <aio.h> header contains all the structure fields, constants, and prototypes
necessary to use BPX1AIO from a C program. These extensions are exposed when the _AIO_OS390 feature
test macro is defined. The BPX1AIO stub resides in SYS1.CSSLIB and must be bound with your program.
For a more detailed description of asynchronous I/O services, see BPX1AIO in z/OS UNIX System Services Programming: Assembler Callable Services Reference.