t6cmp_attrs(3N)

t6cmp_attrs - Compare two security attributes

As shipped in IRIX 6.5.7. Unchanged since IRIX 6.5.

NAME
     t6cmp_attrs - Compare two security attributes

SYNOPSIS
     cc [ flags ... ] file -lt6

     #include <tsix/t6attrs.h>

     int t6cmp_attrs(const t6attr_t attr1, t6attr_t attr2)

DESCRIPTION
     t6cmp_attrs() compares a set of attributes specified by attr1 to the
     attributs in attr2.

RETURN VALUE
     NULL is returned and errno is set to an appropriate value, if attr1 or
     attr2 is an invalid pointer value.

     t6cmp_attrs() returns 1 if attr1 mask and attr2 mask are equal and 0 if
     they are different.

ERROR
     [EINVAL]       If attr1 or attr2 is an invalid pointers.

SEE ALSO
     libt6(3N), t6create_attr(3N), t6free_attr(3N), t6copy_attr(3N),
     t6dup_attr(3N), t6get_attr(3N), t6set_attr(3N), t6size_attr(3N),
     t6ext_attr(3N), t6new_attr(3N), t6last_attr(3N), t6peek_attr(3N).

SOURCE
     Trusted Systems Interoperability Group

NOTES