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:

pututline - different functionality (CrCh4)

NW Impacts

Problem description

The behavior for the pututline function is different on Tru64 UNIX and on HP-UX.

The pututline function writes the supplied parameter into the utmp file.


C/C++ Functionspututline        

Old behavior

if( pututline( uptr ) == (struct utmp*)NULL )
   /* error condition */

See also

Solution description

Use _pututline to achieve similar results.

The correct way for applications to write the supplied parameter into the utmp file is to call _pututline. Review your code and applicable manpages for more information on _pututline.

New behavior

if( _pututline( uptr ) == (struct utmp*)NULL )
   /* error condition */

See also

Problem summary

classifications source types OS release severity type
NW 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.