acl_free_text(3) Library Functions Manual acl_free_text(3)
NAME
acl_free_text - Releases an ACL text working storage
LIBRARY
Security Library (libpacl.a)
SYNOPSIS
#include <sys/acl.h>
int acl_free_text( char buf_p);
PARAMETERS
Specifies the text external representation storage for the ACL being freed.
DESCRIPTION
NOTE: This function is based on Draft 13 of the POSIX P1003.6 standard.
The acl_free_text() function releases the allocated memory area associated with the ACL text indicated by the buf_p descriptor.
RETURN VALUES
Upon successful completion, the acl_free_text() function returns a value of 0 (zero). Otherwise, a value of -1 is returned and errno is
set to indicate the error.
ERRORS
If any of the following conditions occur, the acl_free_text() function sets errno to the corresponding value:
The acl_d parameter does not refer to a string allocated by acl_to_text().
RELATED INFORMATION
acl_to_text(3), acl_init(3)
Security delim off
acl_free_text(3)