t6dup_blk(3N)							 t6dup_blk(3N)
      t6dup_blk - Duplicate security attributes
      cc	[ flags	... ] file
     #include <sys/t6attrs.h>
     t6attr_t t6dup_blk(const t6attr_t src)
     t6dup_blk 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.
     NULL is returned and errno	is set to an appropriate value,	if t6dup_blk
     is	unable to allocate sufficient memory for the new attributes. Upon
     successful	completion, a new t6attr_t handle is returned.
     [ENOMEM]	    Out	of memory for allocation.
 
     libt6(3N),	t6alloc_blk(3N)
     Trusted Systems Interoperability Group
 
									PPPPaaaaggggeeee 1111  [ Back ]
 |