Determines if a privilege set is empty.
Security Library (libc.a)
#include <userpriv.h>
#include <sys/priv.h>
int priv_isnull(privg_t pv)
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.
Item | Description |
---|---|
pv | Specifies the privilege set. |
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. |
No errno value is set.