t6dup_attr(3N)

t6dup_attr - duplicate security attributes

As shipped in IRIX 6.5.7. Unchanged since IRIX 6.5.

NAME
     t6dup_attr - duplicate security attributes

SYNOPSIS
     cc [ flags ... ] file ... -lt6

     #include <tsix/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.

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.

SEE ALSO
     libt6(3N), t6alloc_blk(3N)

NOTES