Test whether a given permission is present in an ACL permissions set
#include <sys/acl.h> int acl_get_perm_np( acl_permset_t const permset_d, acl_perm_t const perm );
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The acl_get_perm_np() function tests whether the given permission is present in a permissions set. The np in the function's name stands for non-POSIX.
This function is based on the withdrawn POSIX draft P1003.1e.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | No |
Thread | Yes |