splx Utility

Purpose

Terminates a section of code.

Syntax

int splx(x)
int x;

Description

The splx utility terminates a section of protected critical code. This utility restores the interrupt level to the previous level specified by the x parameter.

This utility is part of STREAMS Kernel Extensions.