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

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


t6cmp_blk(3N)							 t6cmp_blk(3N)

NAME    [Toc]    [Back]

     t6cmp_blk - compare security attributes

SYNOPSIS    [Toc]    [Back]

     cc	[ flags	... ] file

     #include <sys/t6attrs.h>

     int t6cmp_blk(const t6attr_t *set1, const t6attr_t	*set2)

DESCRIPTION    [Toc]    [Back]

     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

RETURN VALUE    [Toc]    [Back]

     -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.

ERROR    [Toc]    [Back]

     [EINVAL]	    Either set1	or set2	are invalid.

SEE ALSO    [Toc]    [Back]

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

SOURCE    [Toc]    [Back]

     Trusted Systems Interoperability Group

NOTES    [Toc]    [Back]

									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
t6cmp_attrs IRIX Compare two 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