logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

acl_error — convert an ACL error code to a text message

Author

Written by Andreas Gruenbacher <andreas.gruenbacher@gmail.com>. Linux ACL March 23, 2002 ACL_CHECK(3)

Description

The acl_error() function converts an ACL error code such as returned by the acl_check() function to a text message describing the error condition. In the “POSIX” locale, acl_check() returns the following descriptions for the error codes. ACL_MULTI_ERROR “Multiple entries” ACL_DUPLICATE_ERROR “Duplicate entries” ACL_MISS_ERROR “Missing or wrong entry” ACL_ENTRY_ERROR “Invalid entry type”

Library

Linux Access Control Lists library (libacl, -lacl).

Name

acl_error — convert an ACL error code to a text message

Return Value

The acl_error() function returns a text message if the error code is recognized, and a value of (constchar*)NULL otherwise.

See Also

acl_check(3), acl_valid(3), acl(5)

Standards

This is a non-portable, Linux specific extension to the ACL manipulation functions defined in IEEE Std 1003.1e draft 17 (“POSIX.1e”, abandoned).

Synopsis

#include<sys/types.h>#include<acl/libacl.h>constchar*acl_error(intcode);

See Also