t6cmp_blk(3N)

t6cmp_blk - compare security attributes

As shipped in IRIX 6.5. First release of IRIX 6.5.

NAME
     t6cmp_blk - compare security attributes

SYNOPSIS
     cc [ flags ... ] file -lt6

     #include <sys/t6attrs.h>

     t6attr_t t6cmp_blk(const t6attr_t set1, const t6attr_t set2)

DESCRIPTION
     t6cmp_blk() compares the two sets of attributes in set1 and set2.

RETURN VALUE
     t6cmp_blk() returns -1 if set1 or set2 are invalid, 1 if they have the
     same set of attributes and each attribute has the same value as that in
     the other set, and 0 otherwise.

ERROR
     [EINVAL]       Either set1 or set2 were invalid.

SEE ALSO
     libt6(3N), t6alloc_blk(3N), t6dup_blk(3N), t6free_blk(3N).

SOURCE
     Trusted Systems Interoperability Group

NOTES