*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> t6cmp_attrs (3n)              


t6cmp_attrs(3N)						       t6cmp_attrs(3N)

NAME    [Toc]    [Back]

     t6cmp_attrs - Compare two security	attributes

SYNOPSIS    [Toc]    [Back]

     cc	[ flags	... ] file

     #include <sys/t6attrs.h>

     int t6cmp_attrs(const t6attr_t *attr1, t6attr_t *attr2)

DESCRIPTION    [Toc]    [Back]

     t6cmp_attrs compares a set	of attributes specified	by attr1 to the
     attributes	in attr2.

     Also note that t6cmp_attrs(attr1, attr2) is equivalent to
     t6cmp_blk(attr1, attr2), and if the attributes T6_IL and T6_PROC_ATTR are
     used in comparing attribute blocks	they will be ignored as	they are not

RETURN VALUE    [Toc]    [Back]

     -1	is returned and	the error code is stored in errno, if attr1 or attr2
     contain an	invalid	value.

     1 is returned if attr1 and	attr2 contain an identical set of attributes
     and those attributes are equal to each other.

     0 is returned if attr1 and	attr2 are different.

ERROR    [Toc]    [Back]

     [EINVAL]	    If attr1 or	attr2 are invalid.

SEE ALSO    [Toc]    [Back]

     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    [Toc]    [Back]

     Trusted Systems Interoperability Group

NOTES    [Toc]    [Back]

									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
t6cmp_blk IRIX compare security attributes
t6ext_attr IRIX Activate extended security attributes or set policy on security attribute change
t6get_endpt_mask IRIX get or set endpoint security attribute mask, get or set endpoint default security attributes
t6get_attr IRIX Get or set security attributes
t6dup_attr IRIX duplicate security attributes
t6copy_blk IRIX copy security attributes
t6copy_attr IRIX copy security attributes
t6dup_blk IRIX Duplicate security attributes
t6sendto IRIX Specify security attributes to send with data on a trusted endpoint
t6recvfrom IRIX Read security attributes and data from a trusted endpoint
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service