vlseterrorhandler(3dm)
vlSetErrorHandler, vlSetIOErrorHandler - set VL non-fatal or fatal error handler
As shipped in IRIX 6.5.7. Unchanged since IRIX 6.5.
NAME vlSetErrorHandler, vlSetIOErrorHandler - set VL non-fatal or fatal error handler SYNOPSIS #include <dmedia/vl.h> VLErrorHandler vlSetErrorHandler(VLErrorHandler handler); VLIOErrorHandler vlSetIOErrorHandler(VLIOErrorHandler handler); PARAMETERS handler Specifies handler routine. DESCRIPTION vlSetErrorHandler sets the asynchronous error handler to the function specified. This function will be called whenever the VL recieves an asynchronous error event from the server. The default error handler prints a message and returns. vlSetIOErrorHandler sets the fatal error handler routine for the VL. This function should not return. The default fatal error handler prints a message and exits. RETURN VALUE These functions always return a pointer to the old handler. If the value of the new handler is NULL, the default error handler is restored.