Manual Reference Pages - ACL_DUP (3)
- duplicate an ACL
acl_dup acl_t acl
function returns a pointer to a copy of the ACL pointed to by the argument
This function may cause memory to be allocated.
The caller should free any
releasable memory, when the new ACL is no longer required, by calling
as an argument.
Any existing ACL pointers that refer to the ACL referred to by
shall continue to refer to the ACL.
.Fx Ns s
support for POSIX.1e interfaces and features is still under
development at this time.
Upon successful completion, this function shall return a pointer to the
Otherwise, a value of
shall be returned, and
shall be set to indicate the error.
If any of the following conditions occur, the
function shall return a value of
to the corresponding value:
does not point to a valid ACL.
to be returned requires more memory than is allowed by the hardware or
system-imposed memory management constraints.
POSIX.1e is described in IEEE POSIX.1e draft 17.
of the draft continues on the cross-platform POSIX.1e implementation
To join this list, see the
page for more information.
POSIX.1e support was introduced in
.Fx 4.0 ,
and development continues.
.An Robert N M Watson
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.