perr_log(3g) — Subroutines
Name
perr_log − Writes an error message and the PHIGS function name to the error file, and returns control to the calling procedure.
Operating States: ∗, ∗, ∗, ∗
PHIGS standard function
Syntax
void perr_log (
Pint err_num, /∗ (I) Error number ∗/
Pint func_num, /∗ (I) Function name that detected the error ∗/
const char ∗err_file /∗ (I) Error file ∗/
)
See Error Constants for the ISO C Language Binding for a list of possible constants for the func_num argument.
Description
perr_log causes Digital PHIGS to take the following actions:
•Write an error message and the PHIGS function name to the error file.
•Return control to the calling procedure.
The Digital PHIGS error messages are listed in the Error Codes appendix in the hard copy and online documentation.
See Also
perr_hand
popen_phigs