acl_init()
QNX SDP8.0C Library ReferenceAPIDeveloper
Allocate and initialize an access control list (ACL) working storage area
Synopsis:
#include <sys/acl.h>
acl_t acl_init( int count );
Arguments:
- count
 - The number of ACL entries that you want to allocate and initialize.
 
Library:
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
Description:
The acl_int() function allocates and initializes working storage for an ACL of at least count entries.
Returns:
A pointer to the allocated area, or NULL if an error occurred (errno is set).
Errors:
- EINVAL
 - The count argument is less than zero.
 - ENOMEM
 - Not enough memory.
 
Classification:
This function is based on the withdrawn POSIX draft P1003.1e.
| Safety: | |
|---|---|
| Cancellation point | No | 
| Signal handler | No | 
| Thread | Yes | 
Page updated: 
