NAME
aaccllggeettppeerrmmnnpp - check if a permission is set in a permission set
LLIIBBRRAARRYYStandard C Library (libc, -lc)
SYNOPSIS
##iinncclluuddee <
> ##iinncclluuddee <
int aaccllggeettppeerrmmnnpp(aclpermsett permsetd, aclpermt perm);> DESCRIPTION
The aaccllggeettppeerrmmnnpp() function is a non-portable function that checks if
a permission is set in a permission set.RETURN VALUES
If the permission in perm is set in the permission set permsetd, a value of 1 is returned, otherwise a value of 0 is returned. EERRRROORRSS If any of the following conditions occur, the aaccllggeettppeerrmmnnpp() functionwill return a value of -1 and set global variable errno to the corre-
sponding value: [EINVAL] Argument perm does not contain a valid ACL permission or argument permsetd is not a valid ACL permset.SEE ALSO
acl(3), acladdperm(3), aclclearperms(3), acldeleteperm(3), aclgetpermset(3), aclsetpermset(3), posix1e(3) STANDARDS POSIX.1e is described in IEEE POSIX.1e draft 17. AUTHORS Michael Smith Chris D. Faulhaber BSD April 10, 2001 BSD