msen_from_mac(3C)

msen_from_mac - extract a sensitivity label from a mac_t

As shipped in IRIX 6.5.22. Unchanged since IRIX 6.5.

NAME
     msen_from_mac - extract a sensitivity label from a mac_t

SYNOPSIS
     #include <sys/mac.h>

     msen_t msen_from_mac(mac_t mac);

DESCRIPTION
     msen_from_mac returns an MSEN label extracted from the MAC label
     specified in m.

RETURN VALUES
     If successful, msen_from_mac returns a msen_t. Upon failure msen_from_mac
     returns a NULL pointer - a value of ((msen_t)0).

ERRORS
     EINVAL          given MAC label is invalid

     ENOMEM          could not allocate space for new label

SEE ALSO
     mac_from_text(3C), msen_from_text(3C), msen_free(3C)