Manual Pages — ACL_CREATE_ENTRY
– create a new ACL entry
Standard C Library (libc, -lc)
acl_create_entry(acl_t *acl_p, acl_entry_t *entry_p)
acl_create_entry_np(acl_t *acl_p, acl_entry_t *entry_p, int index)
is a POSIX.1e call that creates a new ACL entry in the ACL
pointed to by
function is a non-portable version that creates the ACL entry
Positions are numbered starting from zero, i.e. calling
argument equal to zero will prepend the entry to the ACL.
The acl_create_entry function returns the value 0 if successful; otherwise the value -1 is returned and the global variable errno is set to indicate the error.
function fails if:
does not point to a pointer to a valid ACL.
is out of bounds.
The ACL working storage requires more memory than is
allowed by the hardware or system-imposed memory
POSIX.1e is described in IEEE POSIX.1e draft 17.
POSIX.1e support was introduced in
FreeBSD 4.0 .
function was added in
FreeBSD 5.0 .
function was written by
Chris D. Faulhaber <Mt firstname.lastname@example.org>.
||June 25, 2009
any comments about this manual page service to
|| Like a classics radio station whose play list spans decades, Unix simultaneously exhibits its mixed and dated heritage. There's Clash-era graphics
interfaces; Beatles-era two-letter command names; and systems programs
(for example, ps) whose terse and obscure output was designed for slow
teletypes; Bing Crosby-era command editing (# and @ are still the default
line editing commands), and Scott Joplin-era core dumps.
— The Unix Haters' handbook