privbit_clr Subroutine

Purpose

Removes a privilege from a privilege set.

Library

Security Library (libc.a)

Syntax

#include <userpriv.h>
#include <sys/priv.h>

void privbit_clr(privg_t pv, int priv)

Description

The privbit_clr subroutine removes the privilege specified by the priv parameter from the privilege set specified by the pv parameter.

Parameters

Item Description
pv Specifies the privilege set that the privilege is removed from.
priv Specifies the privilege to be removed.

Return Values

The privbit_clr subroutine returns no values.

Errors

No errno value is set.