mac_valid(3C)
mac_valid, msen_valid, mint_valid - validate a MAC, MSEN, or MINT label
As shipped in IRIX 6.5. First release of IRIX 6.5.
NAME mac_valid, msen_valid, mint_valid - validate a MAC, MSEN, or MINT label SYNOPSIS #include <sys/mac.h> int mac_valid(mac_t macp); int msen_valid(msen_t msenp); int mint_valid(mint_t mintp); DESCRIPTION mac_valid Check that the format of a MAC label is valid. msen_valid Check that the format of an MSEN label is valid. mint_valid Check that the format of a MINT label is valid. RETURN VALUES mac_valid, msen_valid, and mint_valid return 1 if the label is valid, 0 if it is not valid, and -1 on error. ERRORS EINVAL The specified MAC, MSEN, or MINT label is not valid. SEE ALSO mac_equal(3c)