Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

acl_init(3) [suse 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

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

3 More Discussions You Might Find Interesting

1. 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

2. 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

3. UNIX for Dummies Questions & Answers

Career path help

I am working in a company in which my work includes working on Linux nodes. The "uname -arv" command outputs - "Linux clx28ap01 2.6.18-238.12.1.el5 #1 SMP Sat May 7 20:18:50 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux". I generally use various command to stop/start the servers, checking space,... (7 Replies)
Discussion started by: csrohit
7 Replies