t6cmp_blk(3N)							 t6cmp_blk(3N)
      t6cmp_blk - compare security attributes
      cc	[ flags	... ] file
     #include <sys/t6attrs.h>
     int t6cmp_blk(const t6attr_t *set1, const t6attr_t	*set2)
     t6cmp_blk compares	the two	sets of	attributes in set1 and set2.
     Also note that if the attributes T6_IL and	T6_PROC_ATTR are used in
     comparing attribute blocks	they will be ignored as	they are not
     implemented.
     -1	is returned and	the error code is stored in errno, if set1 or set2
     contain an	invalid	value.
     1 is returned if set1 and set2 contain an identical set of	attributes and
     these attributes are equal	to each	other.
     0 is returned if set1 mask	and set2 are different.
     [EINVAL]	    Either set1	or set2	are invalid.
 
     libt6(3N),	t6alloc_blk(3N), t6dup_blk(3N),	t6free_blk(3N).
     Trusted Systems Interoperability Group
 
									PPPPaaaaggggeeee 1111  [ Back ]
 |