Trusted Solaris Developer's Guide

Get the Size of One Security Attribute

The t6size_attr(3NSL) routine gets the size in bytes of the value for the security attribute specified in attr_type in the security attribute structure t6ctl.

size_t t6size_attr(t6attr_id_t attr_type, const t6attr_t t6ctl);