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.