Section: C Library Functions (3)Local indexUp BSD mandoc
- get the size of the external representation of an ACL
Linux Access Control Lists library (libacl, -lacl).
Fn acl_size acl_t acl
function return the size, in bytes, of the buffer required to hold the exportable, contiguous, persistent form of the ACL pointed to by the argument
when converted by
Fn acl_copy_ext .
Any existing ACL entry descriptors that refer to entries in
continue to refer to the same entries. Any existing ACL pointers that refer
to the ACL referred to by
continue to refer to the ACL. The order of ACL entries within
On success, the
function returns the size in bytes of the contiguous, persistent form of
the ACL. On error, a value of
is returned and
is set appropriately.
If any of the following conditions occur, the
function returns a value of
to the corresponding value:
Bq Er EINVAL
is not a valid pointer to an ACL.