msen_dom(3C)
msen_dom, msen_equal - compare two MSEN labels for the dominates/equal relationship
As shipped in IRIX 6.5.7. Unchanged since IRIX 6.5.
NAME msen_dom, msen_equal - compare two MSEN labels for the dominates/equal relationship SYNOPSIS #include <sys/mac.h> int msen_dom (msen_t lp1, msen_t lp2); int msen_equal (msen_t lp1, msen_t lp2); DESCRIPTION msen_dom compares the two MSEN labels pointed to by the input arguments lp1 and lp2. msen_equal compares the two labels for equality. RETURN VALUE msen_dom returns 1 if and only if lp1 dominates lp2 else it returns 0. Errors return -1. msen_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 msen_from_text(3C), msen_from_mac(3C), msen_valid(3C) dominance(5)