VLSETERRORHANDLER(3dm)VLSETERRORHANDLER(3dm)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.
DESCRIPTIONvlSetErrorHandler 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.
Page 1