Linux repositories inspector

acl_free(3)

Linux ACL
March 23, 2002

acl

Access control list utilities, libraries and headers

libacl1-dev

access control list - static libraries and headers

libacl-devel

Files needed for building programs with libacl

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 int acl_free void *obj_p

DESCRIPTION

The 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 acl_to_text function.

RETURN VALUE


.Rv -std acl_free

ERRORS

If any of the following conditions occur, the acl_free function returns the value -1 and and sets errno to the corresponding value:
[EINVAL]
The value of the argument obj_p is invalid.

STANDARDS

IEEE Std 1003.1e draft 17 (\(lqPOSIX.1e\(rq, abandoned)

AUTHOR

Derived from the FreeBSD manual pages written by
.An Robert N M Watson Aq , and adapted for Linux by
.An Andreas Gruenbacher Aq .
⇧ Top