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

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

ACL_COPY_ENTRY(3)

Contents


NAME    [Toc]    [Back]

     acl_copy_entry -- copy an ACL entry to another ACL entry

LIBRARY    [Toc]    [Back]

     Standard C Library (libc, -lc)

SYNOPSIS    [Toc]    [Back]

     #include <sys/types.h>
     #include <sys/acl.h>

     int
     acl_copy_entry(acl_entry_t dest_d, acl_entry_t src_d);

DESCRIPTION    [Toc]    [Back]

     The acl_copy_entry() function is a POSIX.1e call that copies the contents
     of ACL entry src_d to ACL entry dest_d.

RETURN VALUES    [Toc]    [Back]

     The acl_copy_entry() function returns the value 0 if successful; otherwise
 the value -1 is returned and the global variable errno is set to
     indicate the error.

ERRORS    [Toc]    [Back]

     The acl_copy_entry() function fails if:

     [EINVAL]		Argument src_d or dest_d is not a valid descriptor for
			an ACL entry, or arguments src_d and dest_d reference
			the same ACL entry.

SEE ALSO    [Toc]    [Back]

      
      
     acl(3), acl_get_entry(3), posix1e(3)

STANDARDS    [Toc]    [Back]

     POSIX.1e is described in IEEE POSIX.1e draft 17.

HISTORY    [Toc]    [Back]

     POSIX.1e support was introduced in FreeBSD 4.0.  The acl_copy_entry()
     function was added in FreeBSD 5.0.

AUTHORS    [Toc]    [Back]

     The acl_copy_entry() function was written by Chris D. Faulhaber
     <jedgar@fxp.org>.


FreeBSD 5.2.1			March 10, 2001			 FreeBSD 5.2.1
[ 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
getmcolor IRIX gets a copy of the RGB values for a color map entry
DXmSvnFlushEntry Tru64 Displays the specified entry on the screen if it is the next logically displayed entry.
acl_get_tag_type Tru64 Retrieves the entry tag type identifier for an ACL entry
DXmSvnGetEntryNumber Tru64 Retrieves (returns) an entry number for a specified entry tag value.
csa_list_entry_attributes HP-UX list the names of the entry attributes associated with the specified entry
acl_first_entry Tru64 Resets the current ACL entry to be the first ACL entry
csa_read_entry_attributes HP-UX read and return the calendar entry attribute values for a specified calendar entry
DXmSvnSetEntryTag Tru64 Assigns an entry tag to a specified entry.
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service