acl_size()

Determine the size of the external form of an ACL

Synopsis:

#include <sys/acl.h>

ssize_t acl_size( acl_t acl );

Arguments:

acl
A pointer to an ACL.

Library:

libc

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

Description:

The acl_size() function calculates the size, in bytes, of the buffer required to hold the exportable, contiguous, persistent form of the given ACL.

Returns:

The size, in bytes.

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