acl_get_permset
- retrieve permission set from an ACL entry
LIBRARY
Lb libc
SYNOPSIS
#include <sys/types.h>
#include <sys/acl.h> int
acl_get_permset (acl_entry_t entry_d acl_permset_t *permset_p);
DESCRIPTION
The
acl_get_permset ();
function
is a POSIX.1e call that returns via
Fa permset_p
a descriptor to the permission set in the ACL entry
Fa entry_d .
Subsequent operations using the returned permission set operate
on the permission set within the ACL entry.
RETURN VALUES
Rv -std acl_get_permset
ERRORS
The
acl_get_permset ();
function fails if:
Bq Er EINVAL
Argument
Fa entry_d
is not a valid descriptor for an ACL entry.