Free the working storage area allocated for an access control list (ACL) data object
#include <sys/acl.h> int acl_free( void *obj_p );
- A pointer to the object you want to release. This can be a pointer to an ACL, an ACL qualifier, or a string allocated by one of the ACL functions.
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The acl_free() function releases a work storage area that was allocated for an ACL data object.
0, or -1 if an error occurred (errno is set).
- The value of the obj argument is invalid.
This function is based on the withdrawn POSIX draft P1003.1e.