Vermont Views also provides a simpler error reporting function, SYS_ERRF(). This function pops up a window and writes the message associated with the error code value of VV_ERR. If there is no message associated with the error code, the number of the error code is displayed.
To install this error reporting function:
Step 1: Enable the installation of another error reporting function by #including the vv_errf.h header file. By #including this header file, you disable the VCS error reporting system.
Step 2: Set the system to use this error reporting function with the set environment error function function, se_errfp():
|
Thus, a program using the simpler system error reporting function would start as follows:
|