Manual Page Result
0
Command: acl_size | Section: 3 | Source: Digital UNIX | File: acl_size.3.gz
acl_size(3) Library Functions Manual acl_size(3)
NAME
acl_size - Determines the size of the data package internal representa-
tion of the given ACL
LIBRARY
Security Library (libpacl.a)
SYNOPSIS
#include <sys/acl.h>
ssize_t acl_size( acl_t acl_d);
PARAMETERS
The working storage internal representation of an ACL that the size is
desired on.
DESCRIPTION
NOTE: This function is based on Draft 13 of the POSIX P1003.6 stan-
dard. The function may change as the P1003.6 standard is finalized.
Given an ACL, the acl_size() function determines the number of bytes
required for storing the ACL if converted to data package internal rep-
resentation using acl_copy_ext().
RETURN VALUES
Upon successful completion, the acl_size function returns the size of
the ACL. Otherwise, a value of -1 is returned and errno is set to in-
dicate the error.
ERRORS
If any of the following conditions occur, the acl_size() function sets
errno to the corresponding value:
The acl_d argument does not point to an ACL structure.
RELATED INFORMATION
acl_copy_ext(3)
Security delim off
acl_size(3)