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

  man pages->IRIX man pages -> acl_copy_ext (3c)              
Title
Content
Arch
Section
 

Contents


ACL_COPY_EXT(3C)					      ACL_COPY_EXT(3C)


NAME    [Toc]    [Back]

     acl_copy_ext, acl_copy_int	 - copy	ACL from system	to user	space or from
     user to system space

SYNOPSIS    [Toc]    [Back]

     #include <sys/acl.h>

     ssize_t acl_copy_ext(void *bufp, struct acl *aclp,	ssize_t	size);
     struct acl	*acl_copy_int(void *bufp);

DESCRIPTION    [Toc]    [Back]

     acl_copy_ext sets *bufp to	*aclp if the arguments are valid. acl_copy_int
     allocates a struct	acl and	copies the struct acl pointed to by *bufp into
     it, if the	arguments are valid.  The storage should be freed by calling
     acl_free(3c) when no longer needed.

     In	the POSIX specifications, the internal form of an ACL may be different
     from the external form, hence the need for	these functions.  In IRIX,
     both forms	are the	same.

RETURN VALUES    [Toc]    [Back]

     acl_copy_ext returns sizeof(struct	acl) in	the normal case, or -1 if aclp
     is	null.

     acl_copy_int returns aclp in the normal case or (struct acl *)0 if	the
     arguments are invalid.

ERRORS    [Toc]    [Back]

     acl_copy_ext:

     EINVAL	     aclp is null or bufp is null or size is 0 or negative.

     ERANGE	     size is less than sizeof(struct acl)

     acl_copy_int:

     EINVAL	     bufp is null

     ENOMEM	     memory allocation failure

SEE ALSO    [Toc]    [Back]

      
      
     acl(4)


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
cap_copy_ext IRIX copy capability from system to user space or from user to system space
copy NetBSD kernel space to/from user space copy functions
copyout_proc NetBSD kernel space to/from user space copy functions
copyin_proc NetBSD kernel space to/from user space copy functions
copyoutstr NetBSD kernel space to/from user space copy functions
copystr NetBSD kernel space to/from user space copy functions
copyinstr NetBSD kernel space to/from user space copy functions
copyin NetBSD kernel space to/from user space copy functions
copyout NetBSD kernel space to/from user space copy functions
uiomove Tru64 General: Moves data between user and system virtual space
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service