Converts a privilege bit into a readable string.
Security Library (libc.a)
#include <userpriv.h>
#include <sys/priv.h>
char *getprivname(int priv)The getprivname subroutine converts a given privilege bit specified by the priv parameter into a readable string.
| Item | Description | 
|---|---|
| priv | Specifies the privilege to be converted. | 
| Item | Description | 
|---|---|
| character string | The privilege is valid. | 
| NULL | The privilege is not valid. | 
No errno value is set.