mint_dom(3C)

mint_dom, mint_equal - compare two MINT labels for the dominates/equal relationship

As shipped in IRIX 6.5.5. Unchanged since IRIX 6.5.

NAME
     mint_dom, mint_equal - compare two MINT labels for the dominates/equal
     relationship

SYNOPSIS
     #include <sys/mac.h>

     int mint_dom (mint_t lp1, mint_t lp2);
     int mint_equal (mint_t lp1, mint_t lp2);

DESCRIPTION
     mint_dom compares the two MINT labels pointed to by the input arguments
     lp1 and lp2.

     mint_equal compares the two labels for equality.

RETURN VALUE
     mint_dom returns 1 if and only if lp1 dominates lp2 else it returns 0.
     Errors return -1.

     mint_equal returns 1 if the two labels are equal, 0 otherwise.  Errors
     return -1.

ERRORS
     EINVAL          One of the labels was not valid.

SEE ALSO
     mint_from_text(3C), mint_from_mac(3C), mint_valid(3C)
     dominance(5)