DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Asynchronous I/O

Asynchronous I/O control block

The Asynchronous I/O interfaces use an Asynchronous I/O control block aiocb to provide information when making a request. The data structure of aiocb_t is shown below. See aiocb(5) for more details.

      int             aio_fildes;      /* file descriptor          */
      volatile void  *aio_buf;         /* buffer location          */
      size_t          aio_nbytes;      /* length of transfer       */
      off_t           aio_offset;      /* file offset              */
      int             aio_reqprio;     /* request priority offset  */
      struct sigevent aio_sigevent;    /* signal number and offset */
      int             aio_lio_opcode;  /* listio operation         */
      int             aio_flags;       /* flags                    */

Next topic: Threads-based Interface
Previous topic: Asynchronous I/O interface functions

© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005