acl_free_text(3) — Subroutines
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
buf_pSpecifies 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 function may change as the P1003.6 standard is finalized.
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:
[EINVAL]The acl_d parameter does not refer to a string allocated by acl_to_text().
RELATED INFORMATION
Security