1ACL_CHECK(3) BSD Library Functions Manual ACL_CHECK(3)
2
4 acl_error — convert an ACL error code to a text message
5
7 Linux Access Control Lists library (libacl, -lacl).
8
10 #include <sys/types.h>
11 #include <acl/libacl.h>
12
13 const char *
14 acl_error(int code);
15
17 The acl_error() function converts an ACL error code such as returned by
18 the acl_check() function to a text message describing the error condi‐
19 tion. In the “POSIX” locale, acl_check() returns the following descrip‐
20 tions for the error codes.
21
22 ACL_MULTI_ERROR “Multiple entries”
23
24 ACL_DUPLICATE_ERROR “Duplicate entries”
25
26 ACL_MISS_ERROR “Missing or wrong entry”
27
28 ACL_ENTRY_ERROR “Invalid entry type”
29
31 The acl_error() function returns a text message if the error code is rec‐
32 ognized, and a value of (const char *)NULL otherwise.
33
35 This is a non-portable, Linux specific extension to the ACL manipulation
36 functions defined in IEEE Std 1003.1e draft 17 (“POSIX.1e”, abandoned).
37
39 acl_check(3), acl_valid(3), acl(5)
40
42 Written by Andreas Gruenbacher <andreas.gruenbacher@gmail.com>.
43
44Linux ACL March 23, 2002 Linux ACL