critical impact:
Unclassified _r APIs - not supported (CrUn76)
Problem description
The identified Application Programming Interfaces (APIs) exist on Tru64 UNIX for backward compatibility only. These APIs will not be available on HP-UX.
Reentrant version of many APIs have been declared obsolete, although they are still available for compatibility on current versions of Tru64 UNIX. Reentrant versions of these APIs will not be provided on HP-UX. Identifiers
 drand48_r |
 jrand48_r |
 seed48_r |
 ecvt_r |
 lcong48_r |
 setstate_r |
 erand48_r |
 lrand48_r |
 srand48_r |
 fcvt_r |
 mrand48_r |
 srandom_r |
 getdiskbyname_r |
 nrand48_r |
|
 initstate_r |
 random_r |
|
See also
Solution description
See the manpages to determine the appropriate replacement API.
In most cases, using the non-reentrant version of the API will have the desired effect. The non-reentrant version is thread safe. Therefore, the reentrant versions are no longer necessary in multi-threaded applications. See also
Problem summary
| classifications |
source types |
OS release |
severity |
type |
| TH, UN |
C, C++ |
any HP-UX 11i version |
critical |
unavailable |
|