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

Technical Reference: Kernel and Subsystems, Volume 1

proch_unreg Kernel Service

Purpose

Unregisters a callout handler that was previously registered using the proch_reg kernel service.

Syntax

#include <sys/proc.h>

int proch_unreg(struct prochr *old_prochr);

Parameter

old_prochr Specifies the address of the proch structure to be unregistered.

Description

Unregisters an existing callout handler that was previously registered using the proch_reg() kernel service.

Return Values

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.

Execution Environment

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

Related Information

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.

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