t6dup_blk(3N)t6dup_blk(3N)NAMEt6dup_blk - Duplicate security attributes
SYNOPSIS
cc [ flags ... ] file
#include <sys/t6attrs.h>
t6attr_t t6dup_blk(const t6attr_t src)
DESCRIPTIONt6dup_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.
RETURN VALUE
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.
ERROR
[ENOMEM] Out of memory for allocation.
SEE ALSOlibt6(3N), t6alloc_blk(3N)SOURCE
Trusted Systems Interoperability Group
NOTES
Page 1