spe_callback_handler_deregister - Deregister the user-defined function identified by callnum.
#include <libspe2.h>
int spe_callback_handler_deregister (unsigned int callnum)
Parameters | |
callnum | The identifier of the function callback to be deregistered. The valid range is 0..255. |
On success, the function returns 0 (zero).
On error, -1 is returned and errno is set to indicate the error.
Possible errors include:
EINVAL | Function argument error, for example, callnum out of range. |
ESRCH | No callback registered for callnum. |
EACCES | Attempt to deregister a reserved callback. |