acl_clear_flags_np(3)

acl_clear_flags_np3

Clear flags from a flag set

Usage

#include <sys/types.h>

#include <sys/acl.h>

int

acl_clear_flags_np(acl_flagset_t flagset_d);

Library

Standard C Library (libc, -lc)

Overview

The acl_clear_flags_np() function is a nonstandard extension that clears all flags from flag set flagset_d.

Return values

The acl_clear_flags_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_clear_flags_np() function fails if:

[EINVAL]

Argument flagset_d is not a valid descriptor for a flag set.

Releases

135 releases since Mac OS X 10.4; the text changed 1 time.

  1. 10.4–10.4.11
  2. 10.5–26.5

Authors

Michael Smith Chris D Fulhaber

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