resetting manifest requested domain to floor
[platform/upstream/acl.git] / man / man3 / acl_error.3
1 .\" Access Control Lists manual pages
2 .\"
3 .\" (C) 2002 Andreas Gruenbacher, <a.gruenbacher@bestbits.at>
4 .\"
5 .\" This is free documentation; you can redistribute it and/or
6 .\" modify it under the terms of the GNU General Public License as
7 .\" published by the Free Software Foundation; either version 2 of
8 .\" the License, or (at your option) any later version.
9 .\"
10 .\" The GNU General Public License's references to "object code"
11 .\" and "executables" are to be interpreted as the output of any
12 .\" document formatting or typesetting system, including
13 .\" intermediate and printed output.
14 .\"
15 .\" This manual is distributed in the hope that it will be useful,
16 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
17 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 .\" GNU General Public License for more details.
19 .\"
20 .\" You should have received a copy of the GNU General Public
21 .\" License along with this manual.  If not, see
22 .\" <http://www.gnu.org/licenses/>.
23 .\"
24 .Dd March 23, 2002
25 .Dt ACL_CHECK 3
26 .Os "Linux ACL"
27 .Sh NAME
28 .Nm acl_error
29 .Nd convert an ACL error code to a text message
30 .Sh LIBRARY
31 Linux Access Control Lists library (libacl, \-lacl).
32 .Sh SYNOPSIS
33 .In sys/types.h
34 .In acl/libacl.h
35 .Ft const char *
36 .Fn acl_error "int code"
37 .Sh DESCRIPTION
38 The
39 .Fn acl_error
40 function converts an ACL error code such as returned by the
41 .Fn acl_check
42 function to a text message describing the error condition. In the
43 \(lqPOSIX\(rq locale,
44 .Fn acl_check
45 returns the following descriptions for the error codes.
46 .Bl -tag -width ACL_DUPLICATE_ERROR.
47 .It ACL_MULTI_ERROR
48 \(lqMultiple entries\(rq
49 .It ACL_DUPLICATE_ERROR
50 \(lqDuplicate entries\(rq
51 .It ACL_MISS_ERROR
52 \(lqMissing or wrong entry\(rq
53 .It ACL_ENTRY_ERROR
54 \(lqInvalid entry type\(rq
55 .El
56 .Sh RETURN VALUE
57 The
58 .Fn acl_error
59 function returns a text message if the error code is recognized, and a value of
60 .Li (const char *)NULL
61 otherwise.
62 .Sh STANDARDS
63 This is a non-portable, Linux specific extension to the ACL manipulation
64 functions defined in IEEE Std 1003.1e draft 17 (\(lqPOSIX.1e\(rq, abandoned).
65 .Sh SEE ALSO
66 .Xr acl_check 3 ,
67 .Xr acl_valid 3 ,
68 .Xr acl 5
69 .Sh AUTHOR
70 Written by
71 .An "Andreas Gruenbacher" Aq a.gruenbacher@bestbits.at .