exacl 0.12.0

Manipulate file system access control lists (ACL) on macOS, Linux, and FreeBSD
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <sys/types.h>
#include <sys/errno.h>
#include <sys/acl.h>
#include <fcntl.h>
#if __APPLE__
// MacOS makes us translate between GUID and UID/GID.
# include <membership.h>
#elif __linux__
// Linux supplies non-standard ACL extensions in a different header.
# include <acl/libacl.h>
#endif
#include <grp.h>
#include <pwd.h>
#include <unistd.h>