t6dup_attr(3N)
t6dup_attr - duplicate security attributes
As shipped in IRIX 6.5.19. Last changed in IRIX 6.5.15.
NAME t6dup_attr - duplicate security attributes SYNOPSIS cc [ flags ... ] file ... #include <sys/t6attrs.h> t6attr_t t6dup_attr(const t6attr_t src) DESCRIPTION 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 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 [ENOMEM] t6dup_attr was unable to allocate enough memory for the requested attribute block. SEE ALSO libt6(3N), t6alloc_blk(3N) and t6dup_blk(3n) NOTES