Deletes a process state change notification routine.
#include <sys/types.h> #include <sys/errno.h> #include <sys/proc.h>
void prochdel (term) struct proch *term;
term | Points to a proch structure containing a notification routine to be removed from the chain of system-wide notification routines. This structure was previously registered by using the prochadd kernel service. |
The prochdel kernel service removes a process change notification routine from the chain of system-wide notification routines. The registered notification routine defined by the handler field in the proch structure is no longer to be called by the kernel when major process state changes occur.
If the proch structure pointed to by the term parameter is not found in the chain of structures, the prochdel service performs no operation.
The prochdel kernel service can be called from the process environment only.
The prochdel kernel service is part of Base Operating System (BOS) Runtime.
The prochadd kernel service.
The Process State-Change Notification Routine.
Kernel Extension and Driver Management Kernel Services in AIX Kernel Extensions and Device Support Programming Concepts.