[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Kernel and Subsystems, Volume 1

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

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.

Related Information

The prochadd kernel service.

The Process State-Change Notification Routine.

Kernel Extension and Driver Management Kernel Services in AIX 5L Version 5.2 Kernel Extensions and Device Support Programming Concepts.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]