Content-type: text/html
acl_delete_entry - Deletes an ACL entry
#include <sys/acl.h>
int acl_delete_entry(
acl_entry_t entry_d);
Designates the working storage internal representation ACL entry to be deleted.
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.
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.
If any of the following conditions occur, the acl_delete_entry() function sets errno to the corresponding value:
The argument entry_d does not refer to a valid ACL entry.
acl_copy_entry(3), acl_create_entry(3), acl_get_entry(3), acl_first_entry(3)
Security delim off