mint_from_mac(3C)

mint_from_mac - extract a sensitivity label from a mac_t

Showing IRIX 6.5.30 (default release). Unchanged since IRIX 6.5.

NAME
     mint_from_mac - extract a sensitivity label from a mac_t

SYNOPSIS
     #include <sys/mac.h>

     mint_t mint_from_mac(mac_t mac);

DESCRIPTION
     mint_from_mac returns an MINT label extracted from the MAC label
     specified in m.

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

ERRORS
     EINVAL          given MAC label is invalid

     ENOMEM          could not allocate space for new label

SEE ALSO
     mac_from_text(3C), mint_from_text(3C), mint_free(3C)