Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

acl_init(3) [redhat man page]

ACL_INIT(3)						   BSD Library Functions Manual 					       ACL_INIT(3)

NAME
acl_init -- initialize ACL working storage LIBRARY
Linux Access Control Lists library (libacl, -lacl). SYNOPSIS
#include <sys/types.h> #include <sys/acl.h> acl_t acl_init(int count); DESCRIPTION
The acl_init() function allocates and initializes the working storage for an ACL of at least count ACL entries. The ACL created initially contains no ACL entries. A pointer to the working storage is returned. This function may cause memory to be allocated. The caller should free any releasable memory, when the new ACL is no longer required, by calling acl_free(3) with the (void*)acl_t returned by acl_init() as an argument. RETURN VALUE
Upon successful completion, this function returns a pointer to the working storage. Otherwise, a value of (acl_t)NULL is returned, and errno is set to indicate the error. ERRORS
If any of the following conditions occur, the acl_init() function returns a value of (acl_t)NULL and sets errno to the corresponding value: [EINVAL] The value of count is less than zero. [ENOMEM] The acl_t to be returned requires more memory than is allowed by the hardware or system-imposed memory management con- straints. STANDARDS
IEEE Std 1003.1e draft 17 ("POSIX.1e", abandoned) SEE ALSO
acl_get_file(3), acl_free(3), acl(5) AUTHOR
Derived from the FreeBSD manual pages written by Robert N M Watson <rwatson@FreeBSD.org>, and adapted for Linux by Andreas Gruenbacher <a.gruenbacher@computer.org>. Linux ACL March 23, 2002 Linux ACL

Check Out this Related Man Page

ACL_INIT(3)						   BSD Library Functions Manual 					       ACL_INIT(3)

NAME
acl_init -- initialize ACL working storage LIBRARY
Linux Access Control Lists library (libacl, -lacl). SYNOPSIS
#include <sys/types.h> #include <sys/acl.h> acl_t acl_init(int count); DESCRIPTION
The acl_init() function allocates and initializes the working storage for an ACL of at least count ACL entries. The ACL created initially contains no ACL entries. A pointer to the working storage is returned. This function may cause memory to be allocated. The caller should free any releasable memory, when the new ACL is no longer required, by calling acl_free(3) with the (void*)acl_t returned by acl_init() as an argument. RETURN VALUE
On success, this function returns a pointer to the working storage. On error, a value of (acl_t)NULL is returned, and errno is set appropri- ately. ERRORS
If any of the following conditions occur, the acl_init() function returns a value of (acl_t)NULL and sets errno to the corresponding value: [EINVAL] The value of count is less than zero. [ENOMEM] The acl_t to be returned requires more memory than is allowed by the hardware or system-imposed memory management con- straints. STANDARDS
IEEE Std 1003.1e draft 17 ("POSIX.1e", abandoned) SEE ALSO
acl_get_file(3), acl_free(3), acl(5) AUTHOR
Derived from the FreeBSD manual pages written by Robert N M Watson <rwatson@FreeBSD.org>, and adapted for Linux by Andreas Gruenbacher <a.gruenbacher@bestbits.at>. Linux ACL March 23, 2002 Linux ACL
Man Page

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to get out of "stuck" mode

Hi. I am relatively new to working with Unix OS. In the past few years I worked with windows but programmed on Linux through SSH. I have been working on a computer with Unix OS for the past few months, and I have a reoccurring problem. One of my processes gets stuck, and the computer freezes.... (5 Replies)
Discussion started by: mrguy123
5 Replies

2. UNIX for Dummies Questions & Answers

Linux on custom hardware

I would like to configure a bare minimum Linux with internet browser on a system with Flash & RAM (but no harddisk or any other nonvolatile storage). Please advise. (5 Replies)
Discussion started by: rherb
5 Replies

3. SuSE

Suse Linux 11.4 Internet connection

Hi I am new to Linux. I installed 11.4, it went smooth and everything was working fine. After Update i rebooted the system and all of sudden internet connection is not working. Could any one tell me how to check and change the settings. Rgds Kashch (1 Reply)
Discussion started by: kashch
1 Replies

4. Slackware

X by web

hi experts,... i am with a old computer in here,.. and i have a political for having all machines mine working,... i had slackware 13 with windows7 working in that machine--all perfect,. then i been for installing only slackware,.. problem i don't get install all packages especially KDE,.. i... (1 Reply)
Discussion started by: gitac
1 Replies

5. UNIX for Dummies Questions & Answers

Setting up a home network for learning Linux

I am working on learning Linux, and somebody suggested setting up Linux on a separate computer, and searching for answers to whatever may be needed, on a different computer plugged in to the Internet. I have a Windows 7 PC, plugged in to a cable modem, and an old notebook, Compaq Presario R3000... (5 Replies)
Discussion started by: AdultFoundry
5 Replies