Section: C Library Functions (3)Local indexUp BSD mandoc
Linux ACL
NAME
acl_free
- 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: