Index Index for
Section 3
Index Alphabetical
listing for A
Bottom of page Bottom of
page

acl_free_text(3)

NAME

acl_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

buf_p 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: [EINVAL] The acl_d parameter does not refer to a string allocated by acl_to_text().

SEE ALSO

acl_to_text(3), acl_init(3) Security

Index Index for
Section 3
Index Alphabetical
listing for A
Top of page Top of
page