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);
Item | Description |
---|---|
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.