acl_free(3) release memory allocated to an ACL data object

LIBRARY

Linux Access Control Lists library (libacl, -lacl).

SYNOPSIS

In sys/types.h In sys/acl.h Ft int Fn acl_free void *obj_p

DESCRIPTION

The Fn acl_free function frees any releasable memory currently allocated by to the ACL data object identified by obj_p The argument obj_p may identify an ACL, an ACL entry qualifier, or a pointer to a string allocated by the Fn acl_to_text function.

RETURN VALUE

Rv -std acl_free

ERRORS

If any of the following conditions occur, the Fn acl_free function returns the value -1 and and sets errno to the corresponding value:

Bq Er EINVAL
The value of the argument obj_p is invalid.

STANDARDS

IEEE Std 1003.1e draft 17 ("POSIX.1e", abandoned)

AUTHOR

Derived from the FreeBSD manual pages written by An Robert N M Watson Aq [email protected] , and adapted for Linux by An Andreas Gruenbacher Aq [email protected] .