ACLGETPERMSET(3) BSD Library Functions Manual ACLGETPERMSET(3)
NAME
aclgetpermset -- retrieve permission set from an ACL entry
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
##include <>
##include <>
int
aclgetpermset(aclentryt entryd, aclpermsett *permsetp);
DESCRIPTION
The aclgetpermset() function is a POSIX.1e call that returns via
permsetp a descriptor to the permission set in the ACL entry entryd.
Subsequent operations using the returned permission set operate on the
permission set within the ACL entry.
RETURN VALUES
The aclgetpermset() 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 aclgetpermset() function fails if:
[EINVAL] Argument entryd is not a valid descriptor for an ACL
entry.
SEE ALSO
acl(3), acladdperm(3), aclclearperms(3), acldeleteperm(3),
aclsetpermset(3), posix1e(3)
STANDARDS
POSIX.1e is described in IE POSIX.1e draft 17.
AUTHORS
Michael Smith
Chris D. Faulhaber
BSD March 10, 2001 BSD
|