acl_delete_flag_np(3)

acl_delete_flag_np3

Delete flags from a flag set

Usage

#include <sys/types.h>

#include <sys/acl.h>

int

acl_delete_flag_np(acl_flagset_t flagset_d, acl_flag_t flag);

Library

Standard C Library (libc, -lc)

Overview

The acl_delete_flag_np() function is a nonstandard extension that removes the specific flag flag from the flag set flagset_d.

Return values

The acl_delete_flag_np() function returns the value 0 if successful; otherwise the value -1 is returned and the global variable errno is set to indicate the error.

Errors

The acl_delete_flag_np() function fails if:

[EINVAL]

Argument flagset_d is not a valid descriptor for a flag set. Argument flag does not contain an acl_flag_t value that is valid for the flagset_d flagset.

Releases

135 releases since Mac OS X 10.4; the text changed 2 times.

  1. 10.4–10.4.11
  2. 10.5–14.6
  3. 15.0–26.5

Authors

Michael Smith Chris D. Faulhaber

From Libc 1752.120.2 in macOS 26.5. Parsed by carta from the page's mdoc source.