Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ acl_dup(3) — Tru64 UNIX 5.0a

Media Vault

Software Library

Restoration Projects

Artifacts Sought

acl_dup(3)  —  Subroutines

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

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

DESCRIPTION

NOTE:  This function is based on Draft 13 of the POSIX P1003.6 standard. 

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

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:

[EINVAL]The acl_d parameter does not point to a valid ACL structure. 

[ENOMEM]Unable to allocate memory for storing the duplicate ACL. 

RELATED INFORMATION

Security

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026