www.LinuxHowtos.org
ACL_CHECK
Section: C Library Functions (3)Index Return to Main Contents
BSD mandoc
Linux ACL
NAME
acl_error - convert an ACL error code to a text messageLIBRARY
Linux Access Control Lists library (libacl, -lacl).SYNOPSIS
In sys/types.h In acl/libacl.h Ft const char * Fn acl_error int codeDESCRIPTION
The Fn acl_error function converts an ACL error code such as returned by the Fn acl_check function to a text message describing the error condition. In the lqPOSIXrq locale, Fn acl_check returns the following descriptions for the error codes.- ACL_MULTI_ERROR
- lqMultiple entriesrq
- ACL_DUPLICATE_ERROR
- lqDuplicate entriesrq
- ACL_MISS_ERROR
- lqMissing or wrong entryrq
- ACL_ENTRY_ERROR
- lqInvalid entry typerq
RETURN VALUE
The Fn acl_error function returns a text message if the error code is recognized, and a value of (const char *)NULL otherwise.STANDARDS
This is a non-portable, Linux specific extension to the ACL manipulation functions defined in IEEE Std 1003.1e draft 17 (lqPOSIX.1erq, abandoned).SEE ALSO
acl_check3, acl_valid3, acl(5)AUTHOR
Written by An Andreas Gruenbacher Aq a.gruenbacher@bestbits.at .