Content-type: text/html Man page of acl_copy_entry

acl_copy_entry

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

NAME

acl_copy_entry - Copies an ACL entry  

LIBRARY

Security Library (libpacl.a)  

SYNOPSIS

#include <sys/acl.h>

int acl_copy_entry(        acl_entry_t src_d,
       acl_entry_t dest_d);
 

PARAMETERS

Specifies the working storage internal representation ACL entry to copy. Specifies the location to copy the working storage internal representation ACL entry to.  

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_copy_entry() function copies the contents of the individual ACL entry indicated by the src_d parameter to the individual ACL entry indicated by the dest_d parameter. Any ACL descriptor referring to the ACL entries in either parameter will still refer to the same ACL entries. This function overwrites the contents of the ACL entry indicated by the dest_d parameter.  

RETURN VALUES

Upon successful completion, the acl_copy_entry() function returns a value of 0 (zero). Otherwise, a value of -1 is returned, and errno is set to indicate the error.  

ERRORS

If the following condition occurs, the acl_copy_entry() function sets errno to the corresponding value: The src_d parameter or the dest_d parameter does not refer to a valid ACL entry.  

RELATED INFORMATION

acl_create_entry(3), acl_get_entry(3)

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:41:45 GMT, October 02, 2010