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
» 

DSPP Home

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

critical impact:

readv - different buffer capacity (CrCh97)

CAP Impacts IO Impacts KN Impacts

Problem description

The IOV_MAX constant used by the readv function has different values on Tru64 UNIX and HP-UX.

The readv function reads from a file. On Tru64 UNIX, the </usr/include/limits.h> header file defines IOV_MAX as having the value 1024. On HP-UX, IOV_MAX is defined as having the value 16. The third parameter, iov_count on Tru64 UNIX and iovcnt on HP-UX, is valid if greater than zero and less or equal to IOV_MAX. This might cause problems in applications that use a value of IOV_MAX greater than 16.

Identifiers

C/C++ Misc. IdentifiersIOV_MAX        

See also

Solution description

Review the applicable manpages and your code to determine if your code has dependencies on the value.

See also


Problem summary

classifications source types OS release severity type
CAP, IO, KN C, C++ 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.