ACL_ENTRIES(3) BSD Library Functions Manual ACL_ENTRIES(3)


acl_entries — return the number of entries in an ACL


Linux Access Control Lists library (libacl, −lacl).


#include <sys/types.h>
#include <acl/libacl.h>


acl_entries(acl_t acl);


The acl_entries() function returns the number of ACL entries that are contained in the ACL referred to by the argument acl.


The acl_entries() function returns the number of entries in acl if successful; otherwise the value -1 is returned and the global variable errno is set to indicate the error.


If any of the following conditions occur, the acl_entries() function returns -1 and sets errno to the corresponding value:


The argument acl is not a valid pointer to an ACL.


This is a non-portable, Linux specific extension to the ACL manipulation functions defined in IEEE Std 1003.1e draft 17 (“POSIX.1e”, abandoned).




Written by Andreas Gruenbacher ⟨⟩ .

Linux ACL March 23, 2002 Linux ACL

More Linux Commands

mdadm.conf(5) - configuration for management of Software RAI
mdadm is a tool for creating, managing, and monitoring RAID devices using the md driver in Linux. Some common tasks, such as assembling all arrays, can be simpl

Tcl_AppInit(3) - perform application-specific initialization
Tcl_AppInit is a hook procedure that is invoked by the main programs for Tcl applications such as tclsh and wish. Its purpose is to allow new Tcl applications t

mitem_userptr(3menu) - associate application data with a men
Every menu item has a field that can be used to hold application-specific data (that is, the menu-driver code leaves it alone). These functions get and set that

gij-4.6(1) - GNU interpreter for Java bytecode (Man Page)...
gij is a Java bytecode interpreter included with libgcj. gij is not available on every platform; porting it requires a small amount of assembly programming whic

menu_hook(3menu) - set hooks for automatic invocation by app
These functions make it possible to set hook functions to be called at various points in the automatic processing of input event codes by menu_driver. The funct

clnt_spcreateerror(3) - library routines for remote procedur
These routines allow C programs to make procedure calls on other machines across the network. First, the client calls a procedure to send a data packet to the s

mbchk(1) - check the format of a Multiboot kernel (ManPage)
Check if the format of FILE complies with the Multiboot Specification. -q, --quiet suppress all normal output -h, --help display this help and exit -v, --versio

sqlite_table(5) - Postfix SQLite configuration (Man Page)...
sqlite_table.5 - The Postfix mail system uses optional tables for address rewriting or mail routing. These tables are usually in dbm or db format. Alternatively

XIGrabKeycode(3) - grab/ungrab buttons or keys (Man Page)...
XIGrabButton and XIGrabKeycode establishes a passive grab. The modifier device for a button grab is the paired master device if deviceid specifies a master poin

current_field(3form) - set and get form page number.........
current_field.3form - The function set_current field sets the current field of the given form; current_field returns the current field of the given form. The fu

xclock(1) - analog / digital clock for X - Linux man page...
The xclock program displays the time in analog or digital form. The time is continuously updated at a frequency which may be specified by the user. OPTIONS Xclo

audispd(8) an event multiplexor (Admin - Linux man page)....
audispd is an audit event multiplexor. It has to be started by the audit daemon in order to get events. It takes audit events and distributes them to child prog

We can't live, work or learn in freedom unless the software we use is free.