acl_set_permset()

Updated: May 06, 2022

Set the permissions set in an ACL entry

Synopsis:

#include <sys/acl.h>

int acl_set_permset( acl_entry_t entry_d,
                     acl_permset_t permset_p );

Arguments:

entry_d
A descriptor of the entry whose permissions you want to set.
permset_p
The permissions set that you want to store in the entry.

Library:

libc

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

Description:

The acl_set_permset() function stores the given set of permissions in an ACL entry.

Returns:

0.

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