cfgndel Kernel Service

Purpose

Removes a notification routine for receiving broadcasts of changes to configurable system variables.

Syntax

#include <sys/types.h> #include <sys/errno.h> #include <sys/sysconfig.h> void cfgndel ( cbp) struct cfgncb *cbp;

Parameter

Item Description
cbp Points to a cfgncb configuration notification control block.

On a platform that supports storage keys, the passed in cbp parameter must only be in the KKEY_PUBLIC domain.

Description

The cfgndel kernel service removes a previously registered cfgncb configuration notification control block from the list of cfgncb structures maintained by the kernel. This service thus allows kernel routines and extensions to remove their notification routines from the list of those called when a configurable system variable has been changed.

The address of the cfgncb structure passed to the cfgndel kernel service must be the same address used to call the cfgnadd service when the structure was originally added to the list. The /usr/include/sys/sysconfig.h file contains a definition of the cfgncb structure.

Execution Environment

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

Return Values

The cfgndel service has no return values.