t6copy_attr(3N) t6copy_attr(3N)
t6copy_attr - copy security attributes
cc [ flags ... ] file
#include <sys/t6attrs.h>
void t6copy_attr(const t6attr_t attr1, t6attr_t attr2)
t6copy_attr copies a set of attributes specified by attr1 into the
buffers controlled by attr2. (Both attr1 and attr2 should have already
been allocated by t6alloc_blk).
See man pages for t6alloc_blk (3N) for more details.
Also note that t6copy_attr(src, dest) is equivalent to t6copy_blk(src,
dest).
t6copy_attr will silently fail if the destination t6attr_t does not have
the same set of allocated attributes as the source t6attr_t, and if
either of the t6attr_t attributes are NULL.
libt6(3N), t6alloc_blk(3N), t6create_attr(3N), t6free_attr(3N),
t6dup_attr(3N), t6get_attr(3N), t6set_attr(3N), t6size_attr(3N),
t6ext_attr(3N), t6new_attr(3N), t6last_attr(3N), t6peek_attr(3N),
t6copy_blk(3N).
Trusted Systems Interoperability Group
PPPPaaaaggggeeee 1111 [ Back ]
|