acl_free_text(3)acl_free_text(3)NAMEacl_free_text - Releases an ACL text working storage
SYNOPSIS
#include <sys/acl.h>
int acl_free_text(
char buf_p );
LIBRARY
Security Library (libpacl.a)
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 stan‐
dard.
The acl_free_text() function releases the allocated memory area associ‐
ated 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().
SEE ALSOacl_to_text(3), acl_init(3)
Security
acl_free_text(3)