ACLCOPYENTRY(3) BSD Library Functions Manual ACLCOPYENTRY(3)
NAME
aclcopyentry -- copy an ACL entry to another ACL entry
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
##include <>
##include <>
int
aclcopyentry(aclentryt destd, aclentryt srcd);
DESCRIPTION
The aclcopyentry() function is a POSIX.1e call that copies the contents
of ACL entry srcd to ACL entry destd.
RETURN VALUES
The aclcopyentry() function returns the value 0 if successful; other-
wise the value -1 is returned and the global variable errno is set to
indicate the error.
ERORS
The aclcopyentry() function fails if:
[EINVAL] Argument srcd or destd is not a valid descriptor for
an ACL entry, or arguments srcd and destd reference
the same ACL entry.
SEE ALSO
acl(3), aclgetentry(3), posix1e(3)
STANDARDS
POSIX.1e is described in IE POSIX.1e draft 17.
AUTHORS
Michael Smith
Chris D Fulhaber
BSD March 10, 2001 BSD
|