acl_size - Determines the size of the data package internal representation of the given ACL
Security Library (libpacl.a)
The working storage internal representation of an ACL that the size is desired on.
NOTE: This function is based on Draft 13 of the POSIX P1003.6 standard. The function may change as the P1003.6 standard is finalized.
Given an ACL, the acl_size() function determines the number of bytes required for storing the ACL if converted to data package internal representation using acl_copy_ext().
Upon successful completion, the acl_size function returns the size of the ACL. Otherwise, a value of -1 is returned and errno is set to indicate the error.
If any of the following conditions occur, the acl_size() function sets errno to the corresponding value:
The acl_d argument does not point to an ACL structure.
Security delim off