Jump to content
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
HP.com home

Transition Impacts

Tru64 UNIX Software Transition Kit


» HP STK home
» Home
» Overview
» Tools
» Documentation
» Transition impacts
» Identifier types
» Impact list
» Porting to HP-UX
» Glossary
» Help
» Send us feedback
Site maps
» Tru64 UNIX STK
Content starts here

critical impact:

libaio, libaio_raw - POSIX AIO support is in librt (CrCh361)

LIB Impacts

Problem description

The POSIX 1003.1b Asynchronous I/O (AIO) interfaces are in the libaio and libaio_raw libraries on Tru64 UNIX; they are in the librt library on HP-UX.

The POSIX AIO interfaces allow a process or thread to start multiple simultaneous read and/or write operations to multiple files, to wait for or obtain notification of completion of requested operations, and to retrieve the status of completed operations.

On Tru64 UNIX, the POSIX AIO interfaces are in the libaio and libaio_raw libraries. The libaio library is for performing asynchronous I/O to files. The library uses POSIX threads to simulate the asynchronous I/O. The libaio_raw library is for raw devices that directly support true asynchronous I/O.

On HP-UX, the POSIX AIO interfaces are in the librt library. They support both files and raw devices. The implementation resides entirely within the kernel and uses kernel threads to simulate asynchronous I/O for devices that do not directly support it.


Programming Libraries-laio Programming Librarieslibaio.so  
Programming Libraries-laio_raw Programming Librarieslibaio_raw.so  

See also

Solution description

Applications that call the POSIX AIO interfaces should link with -lrt on HP-UX.

See also

Problem summary

classifications source types OS release severity type
LIB Make, Script any HP-UX 11i version critical changed
Printable version
Privacy statement Using this site means you accept its terms Feedback to DSPP
© 2007 Hewlett-Packard Development Company, L.P.