Manual Page Result
0
Command: acl_free | Section: 3 | Source: Digital UNIX | File: acl_free.3.gz
acl_free(3) Library Functions Manual acl_free(3)
NAME
acl_free - Releases an ACL working storage area previously allocated by
acl_init()
LIBRARY
Security Library (libpacl.a)
SYNOPSIS
#include <sys/acl.h>
int acl_free( acl_t acl_d);
PARAMETERS
Specifies the working storage internal representation ACL descriptor.
DESCRIPTION
NOTE: This function is based on Draft 13 of the POSIX P1003.6 stan-
dard. The function may change as the P1003.6 standard is finalized.
The acl_free() function releases the system working storage area asso-
ciated with the ACL indicated by the acl_d descriptor. This space is
allocated by acl_init, acl_create_entry and acl_set_qualifier.
RETURN VALUES
Upon successful completion, the acl_free() function returns a value of
0 (zero). Otherwise, a value of -1 is returned and errno is set to in-
dicate the error.
ERRORS
If the following condition occurs, the acl_free() function sets errno
to the corresponding value: The acl_d parameter does not refer to an
ACL allocated by the acl_init() function.
RELATED INFORMATION
acl_init(3), acl_create_entry(3), acl_set_qualifier(3)
Security delim off
acl_free(3)