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

  man pages->IRIX man pages -> t6dup_attr (3n)              
Title
Content
Arch
Section
 

Contents


t6dup_attr(3N)							t6dup_attr(3N)


NAME    [Toc]    [Back]

     t6dup_attr	- duplicate security attributes

SYNOPSIS    [Toc]    [Back]

     cc	[ flags	... ] file ...

     #include <sys/t6attrs.h>

     t6attr_t t6dup_attr(const t6attr_t	src)

DESCRIPTION    [Toc]    [Back]

     t6dup_attr	allocates a new	t6attr_t control structure and buffer space
     large enough to hold the set of security attributes in the	t6attr_t
     control structure src which is passed in as an argument.  It then copies
     that set of attributes specified by src into the newly allocated
     structure.	 Upon successful completion, the newly created t6attr_t	handle
     is	returned.

     Also note that t6dup_attr(src) is equivalent to t6dup_blk(src).

RETURN VALUE    [Toc]    [Back]

     NULL is returned and errno	is set to an appropriate value,	if t6dup_attr
     is	unable to allocate sufficient memory for the new attributes. Upon
     successful	completion, a new t6attr_t handle is returned.

ERROR    [Toc]    [Back]

     [ENOMEM]	    t6dup_attr was unable to allocate enough memory for	the
		    requested attribute	block.

SEE ALSO    [Toc]    [Back]

      
      
     libt6(3N),	t6alloc_blk(3N)	and t6dup_blk(3n)

NOTES    [Toc]    [Back]


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
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
t6cmp_blk IRIX compare security attributes
t6copy_blk IRIX copy security attributes
t6copy_attr IRIX copy security attributes
t6cmp_attrs IRIX Compare two 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
t6peek_attr IRIX examine the security attributes on the next or previous byte of data
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service