acl_entries.3




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

NAME

acl_entries — return the number of entries in an ACL

LIBRARY

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

SYNOPSIS

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

int

acl_entries(acl_t acl);

DESCRIPTION

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

RETURN VALUE

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.

ERRORS

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

[EINVAL]

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

STANDARDS

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

SEE ALSO

acl(5)

AUTHOR

Written by Andreas Gruenbacher ⟨ a.gruenbacher@bestbits.at⟩ .

Linux ACL March 23, 2002 Linux ACL



More Linux Commands

manpages/mdadm.conf.5.html
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

manpages/Tcl_AppInit.3.html
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

manpages/mitem_userptr.3menu.html
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

manpages/gij-4.6.1.html
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

manpages/menu_hook.3menu.html
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

manpages/clnt_spcreateerror.3.html
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

manpages/mbchk.1.html
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

manpages/sqlite_table.5.html
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

manpages/XIGrabKeycode.3.html
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

manpages/current_field.3form.html
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

manpages/xclock.1.html
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

manpages/audispd.8.html
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.