acl_size

NAME

LIBRARY

Linux Access Control Lists library (libacl, -lacl).

SYNOPSIS

n sys/types.h n sys/acl.h

DESCRIPTION

The 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
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 remains unchanged.

RETURN VALUE

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.

ERRORS

If any of the following conditions occur, the function returns a value of and sets to the corresponding value:
  • EINVAL The argument is not a valid pointer to an ACL.

STANDARDS

IEEE Std 1003.1e draft 17 (POSIX.1e, abandoned)

SEE ALSO

AUTHOR

Derived from the FreeBSD manual pages written by and adapted for Linux by