Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   acl_error    ( 3 )

преобразовать код ошибки ACL в текстовое сообщение (convert an ACL error code to a text message)

Имя (Name)

acl_error — convert an ACL error code to a text message

Библиотека (Library)

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

Синопсис (Synopsis)

#include <sys/types.h>
     #include <acl/libacl.h>

const char * acl_error(int code);


Описание (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'


Возвращаемое значение (Return value)

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

Стандарты (Conforming to)

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

Смотри также (See also)

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