t6size_attr(3N)t6size_attr(3N)NAMEt6size_attr - Get the size of a particular attribute from the control
structure.
SYNOPSIS
cc [ flags ... ] file
#include <sys/t6attrs.h>
int t6size_attr(t6attr_id_t attr_type, const t6attr_t t6ctl)
DESCRIPTIONt6size_attr returns the size of an attribute indicated by attr_type.
If the t6attr_t control structure t6ctl is a NULL pointer, it returns
either the size of a fixed-size attribute or the maximum size of a
variable size attribute. If the attr_type is invalid, it returns 0.
If the t6attr_t control structure t6ctl is not NULL, it either returns
the size of a fixed-size attribute or the actual size occupied by a
variable size attribute in the control structure t6ctl. If the attr_type
is invalid or not in the t6ctl, it returns 0.
SEE ALSOt6dup_attr(3N), t6copy_attr(3N).
SOURCE
Trusted Systems Interoperability Group
NOTES
Page 1