acl_clear_perms()

Clear all permissions from an ACL permission set

Synopsis:

#include <sys/acl.h>

int acl_clear_perms( acl_permset_t permset_d );

Arguments:

permset_d
The permissions set that you want to clear.

Library:

libc

Use the -l c option to qcc to link against this library. This library is usually included automatically.

Description:

The acl_clear_perms() function clears all permissions from an ACL permissions set.

Returns:

0, or -1 if an error occurred (errno is set).

Errors:

EINVAL
The permset_d argument isn't a valid descriptor for a permission set within an ACL entry.

Classification:

QNX Neutrino

This function is based on the withdrawn POSIX draft P1003.1e.

Safety:  
Cancellation point No
Interrupt handler No
Signal handler No
Thread Yes