HP-UX Reference (11i v1 00/12) - 2 System Calls (vol 5)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man2/!!!intro.2
________________________________________________________________
___ ___
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 Release 11i: December 2000 − 2 − Section 2−−79
___
___