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

Technical Reference: Kernel and Subsystems, Volume 1

vec_clear Kernel Service

Purpose

Removes a virtual interrupt handler.

Syntax

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


void vec_clear ( levsublev)
int levsublev;

Parameter

levsublev Represents the value returned by vec_init kernel service when the virtual interrupt handler was defined.

Description

The vec_clear kernel service is not part of the base kernel but is provided by the device queue management kernel extension. This queue management kernel extension must be loaded into the kernel before loading any kernel extensions referencing these services.

The vec_clear kernel service removes the association between a virtual interrupt handler and the virtual interrupt level and sublevel that was assigned by the vec_init kernel service. The virtual interrupt handler at the sublevel specified by the levsublev parameter no longer registers upon return from this routine.

Execution Environment

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

Return Values

The vec_clear kernel service has no return values. If no virtual interrupt handler is registered at the specified sublevel, no operation is performed.

Related Information

The vec_init kernel service.

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