prochdel Kernel Service

Purpose

Deletes a process state change notification routine.

Syntax

#include <sys/types.h>
#include <sys/errno.h>
#include <sys/proc.h>

void prochdel ( term)
struct proch *term;

Parameter

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

Description

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.

Execution Environment

The prochdel kernel service can be called from the process environment only.