Content-type: text/html Man page of acl_dup

acl_dup

Section: C Library Functions (3)
Index Return to Main Contents
 

NAME

acl_dup - Creates a duplicate copy of the ACL  

LIBRARY

Security Library (libpacl.a)  

SYNOPSIS

#include <sys/acl.h>

acl_t acl_dup(        acl_t acl_d);
 

PARAMETERS

Specifies the working storage internal representation ACL entry to create a duplicate of.  

DESCRIPTION

NOTE: This function is based on Draft 13 of the POSIX P1003.6 standard. The function may change as the P1003.6 standard is finalized.

The acl_dup() function creates a copy of the designated ACL. Once created this copy is independent of the original entry.  

RETURN VALUES

Upon successful completion, the acl_dup function returns a pointer to the new copy of the ACL. Otherwise, a NULL value is returned and errno is set to indicate the error.  

ERRORS

If any of the following conditions occur, the acl_dup() function sets errno to the corresponding value:

The argument acl_d is not valid. Unable to allocate memory for storing the duplicate ACL.  

RELATED INFORMATION

Security delim off


 

Index

NAME
LIBRARY
SYNOPSIS
PARAMETERS
DESCRIPTION
RETURN VALUES
ERRORS
RELATED INFORMATION

This document was created by man2html, using the manual pages.
Time: 02:42:31 GMT, October 02, 2010