These library routines translate a privilege ID or a privilege set between binary and text. Refer to the priv_to_str(3TSOL) man page.
char* priv_to_str(const priv_t priv_id); priv_t str_to_priv(const char *priv_name); char* priv_set_to_str(priv_set_t *priv_set, const char sep, char *buf, int *blen); char* str_to_priv_set(const char *priv_names, priv_set_t *priv_set, const char *sep);