1 .\" Access Control Lists manual pages
3 .\" (C) 2002 Andreas Gruenbacher, <a.gruenbacher@bestbits.at>
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.
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.
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.
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/>.
29 .Nd initialize ACL working storage
31 Linux Access Control Lists library (libacl, \-lacl).
36 .Fn acl_init "int count"
40 function allocates and initializes the working storage for an ACL of at least
42 ACL entries. The ACL created initially contains no ACL entries.
43 A pointer to the working storage is returned.
45 This function may cause memory to be allocated. The caller should free any
46 releasable memory, when the new ACL is no longer required, by calling
54 On success, this function returns a pointer to the
55 working storage. On error, a value of
61 If any of the following conditions occur, the
63 function returns a value of
67 to the corresponding value:
70 The value of count is less than zero.
74 to be returned requires more memory than is allowed by the hardware or
75 system-imposed memory management constraints.
78 IEEE Std 1003.1e draft 17 (\(lqPOSIX.1e\(rq, abandoned)
84 Derived from the FreeBSD manual pages written by
85 .An "Robert N M Watson" Aq rwatson@FreeBSD.org ,
86 and adapted for Linux by
87 .An "Andreas Gruenbacher" Aq a.gruenbacher@bestbits.at .