acl_to_text - Converts an ACL to an ASCII string
char * acl_to_text(
ssize_t *len_p );
Security Library (libpacl.a)
Designates the working storage internal representation of
an ACL to convert to text external representation.
Pointer to location to hold the length of the returned
string or NULL.
NOTE: This function is based on Draft 13 of the POSIX
Given an ACL the acl_to_text() function converts it into a
NULL terminated ASCII character string. The acl_to_text()
function allocates any memory necessary and places the
length of the string returned at len_p.
Upon successful completion, the acl_to_text() function
returns an address pointing to the text external representation
of the ACL. Otherwise, a value of NULL is returned
and errno is set to indicate the error.
If any of the following conditions occur, the
acl_to_text() function sets errno to the corresponding
The argument acl_d is not in a recognized format.
The argument acl_d contains one or more improperly
formatted ACL entries. There is not enough memory
available to the process to allocate the character
[ Back ]