priv_clrall Subroutine

Purpose

Removes all of the privilege bits from the privilege set.

Library

Security Library (libc.a)

Syntax

#include <userpriv.h>
#include <sys/priv.h>
void priv_clrall(privg_t pv)

Description

The priv_clrall subroutine removes all of the privilege bits in the privilege set specified by the pv parameter.

Parameters

Item Description
pv Specifies the privilege set.

Return Values

The priv_clrall subroutine returns no values.

Errors

No errno value is set.