Index Click this button to go to the index for this section.


acl_delete_entry(3)

NAME

acl_delete_entry - Deletes an ACL entry

LIBRARY

Security Library (libpacl.a)

SYNOPSIS

#include <sys/acl.h> int acl_delete_entry( acl_entry_t entry_d);

PARAMETERS

entry_d Designates the working storage internal representation ACL entry to be deleted.

DESCRIPTION

NOTE: This function is based on Draft 13 of the POSIX P1003.6 standard. The function may change as the P1003.6 standard is finalized. Deletes the designated ACL entry from the ACL that contains it.

RETURN VALUES

Upon successful completion, the acl_delete_entry function returns a value of 0 (zero). Otherwise, a value of -1 is returned and errno is set to indicate the error.

ERRORS

If any of the following conditions occur, the acl_delete_entry() function sets errno to the corresponding value: [EINVAL] The argument entry_d does not refer to a valid ACL entry.

RELATED INFORMATION

acl_copy_entry(3), acl_create_entry(3), acl_get_entry(3), acl_first_entry(3) Security