*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> acl_copy_entry (3)              
Title
Content
Arch
Section
 

acl_copy_entry(3)

Contents


NAME    [Toc]    [Back]

       acl_copy_entry - Copies an ACL entry

SYNOPSIS    [Toc]    [Back]

       #include <sys/acl.h>

       int acl_copy_entry(
               acl_entry_t src_d,
               acl_entry_t dest_d );

LIBRARY    [Toc]    [Back]

       Security Library (libpacl.a)

PARAMETERS    [Toc]    [Back]

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

DESCRIPTION    [Toc]    [Back]

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

       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    [Toc]    [Back]

       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    [Toc]    [Back]

       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.

SEE ALSO    [Toc]    [Back]

      
      
       acl_create_entry(3), acl_get_entry(3)

       Security



                                                acl_copy_entry(3)
[ Back ]
 Similar pages
Name OS Title
rpccp_add_element HP-UX Adds an element to a profile in a name service entry; if the specified entry does not exist, creates the entry
rpccp_add_member HP-UX Adds a member to a group in a name service entry; if the specified entry does not exist, creates the entry
cp Tru64 Copies files
pxfstructcopy IRIX Copies structure
dd Tru64 Converts and copies a file
repeat IRIX Concatenates several copies of a string
tcopy Tru64 Copies magnetic tapes
DtPrintCopySetupData HP-UX copies one DtPrintSetupData structure to another
Corrupt Tru64 Contains copies of files that could not be processed
SSL_copy_session_id Tru64 Copies the session-id from one SSL structure to another
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service