File: wrapper.h

package info (click to toggle)
rust-exacl 0.10.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 600 kB
  • sloc: sh: 2,090; ansic: 12; makefile: 2
file content (14 lines) | stat: -rw-r--r-- 350 bytes parent folder | download | duplicates (3)
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>