priv_isnull Subroutine
Purpose
Determines if a privilege set is empty.
Library
Security Library (libc.a)
Syntax
#include <userpriv.h>
#include <sys/priv.h>
int priv_isnull(privg_t pv)Description
The priv_isnull subroutine determines whether the privilege set specified by the pv parameter is empty. If the pv is empty, it returns a value of 1; otherwise, it returns a value of zero.
Parameters
| Item | Description |
|---|---|
| pv | Specifies the privilege set. |
Return Values
The priv_isnull subroutine returns one of the following values:
| Item | Description |
|---|---|
| 0 | The value of the pv parameter is not empty. |
| 1 | The value of the pv parameter is empty. |
Errors
No errno value is set.