HP-UX Reference (11i v1 05/09) - 2 System Calls (vol 5)
g
getacl(2) getacl(2)
#include <sys/acl.h>
entries = getacl ("/users/bill/mcfile", 0, (struct acl_entry ∗) 0);
The following call returns in acl all entries in the
ACL on the file opened with file descriptor 5.
#include <sys/acl.h>
int nentries;
struct acl_entry acl [NACLENTRIES];
entries = fgetacl (5, NACLENTRIES, acl);
DEPENDENCIES
getacl() and fgetacl() are only supported on HFS file system on standard HP-UX operating sys-
tem.
AUTHOR
getacl() and fgetacl() were developed by HP.
SEE ALSO
access(2), chmod(2), getaccess(2), setacl(2), stat(2), unistd(5).
HP-UX 11i Version 1: September 2005 − 2 − Hewlett-Packard Company Section 2−−83