www.LinuxHowtos.org





ACL_FREE

Section: C Library Functions (3)
Index Return to Main Contents

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:

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

 

STANDARDS

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

SEE ALSO

acl_copy_int3, acl_create_entry3, acl_dup3, acl_from_text3, acl_get_fd, acl_get_file3, acl_init3, acl(5)  

AUTHOR

Derived from the FreeBSD manual pages written by An Robert N M Watson Aq rwatson@FreeBSD.org , and adapted for Linux by An Andreas Gruenbacher Aq a.gruenbacher@bestbits.at .


 

Index

NAME
LIBRARY
SYNOPSIS
DESCRIPTION
RETURN VALUE
ERRORS
STANDARDS
SEE ALSO
AUTHOR