Unregisters a callout handler that was previously registered using the proch_reg kernel service.
#include <sys/proc.h>
int proch_unreg(struct prochr *old_prochr);
old_prochr | Specifies the address of the proch structure to be unregistered. |
Unregisters an existing callout handler that was previously registered using the proch_reg() kernel service.
On successful completion, the proch_unreg kernel service returns a value of 0. An error (non-zero) return occurs when trying to unregister a handler that is not presently registered.
The proch_unreg kernel service can be called from the process environment only.
The proch_reg kernel service.
Kernel Extension and Driver Management Kernel Services in AIX 5L Version 5.2 Kernel Extensions and Device Support Programming Concepts.