acl_free (3) - Linux Man Pages
acl_free: release memory allocated to an ACL data object
acl_free - release memory allocated to an ACL data object
LIBRARYLinux Access Control Lists library (libacl, -lacl).
SYNOPSISIn sys/types.h In sys/acl.h Ft int Fn acl_free void *obj_p
DESCRIPTIONThe 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 VALUERv -std acl_free
ERRORSIf 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.
STANDARDSIEEE Std 1003.1e draft 17 ("POSIX.1e", abandoned)
AUTHORDerived from the FreeBSD manual pages written by An Robert N M Watson Aq rwatson [at] FreeBSD.org , and adapted for Linux by An Andreas Gruenbacher Aq a.gruenbacher [at] bestbits.at .