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:

mktemp, mkstemp, mkdtemp, mkstemps - different implementation and support; temporarily available (CrCh215)

ME Impacts SEC Impacts

Problem description

The mktemp and mkstemp functions exist on Tru64 UNIX and HP-UX. They have identical argument inputs and return types. However, the Tru64 UNIX version is less susceptible to interference by other users in the system. The mkdtemp and mkstemps functions only exist on Tru64 UNIX. All four APIs are provided on a temporary basis in the Tru64 UNIX Migration Environment for HP-UX.

  • mktemp replaces the string pointed to by the template argument, with a unique file name.

  • mkstemp performs the same task as mktemp, but returns a file descriptor for the unique file and also opens the file with a read/write privilege.

  • mkdtemp generates a uniquely named temporary directory with permission 0700 from the template argument.

  • mkstemps is similar to mkstemp, but it permits the inclusion of a trailing suffix in the template argument string.

Identifiers

C/C++ Functionsmkdtemp C/C++ Functionsmkstemp C/C++ Functionsmkstemps C/C++ Functionsmktemp  

See also

Solution description

The Tru64 UNIX mktemp, mkstemp, mkdtemp, and mkstemps are in the Migration Environment.

See also


Problem summary

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