__err2ad() — Return address of reason code of last failure
Standards
Standards / Extensions | C or C++ | Dependencies |
---|---|---|
z/OS® UNIX | both |
Format
int *__err2ad(void);
General description
The __err2ad() function returns the address of the errno2. The errno2 may be set by the z/OS XL C/C++ runtime library, z/OS UNIX callable services or other callable services.
__err2ad() provides assistance in diagnosing problems by allowing an application to reset the errno2 value prior to calling a function.
For more information about __errno2(), see z/OS XL C/C++ Runtime Library Reference.
Returned value
__err2ad() is always successful.