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

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

acl_init(3)

Contents


NAME    [Toc]    [Back]

       acl_init  -  Allocate  and initialize ACL internal working
       storage

SYNOPSIS    [Toc]    [Back]

       #include <sys/acl.h>

       acl_t acl_init(
               const size_t size );

LIBRARY    [Toc]    [Back]

       Security Library (libpacl.a)

PARAMETERS    [Toc]    [Back]

       Specifies the size of the working storage in bytes.

DESCRIPTION    [Toc]    [Back]

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

       The  acl_init() function allocates and initializes working
       storage for an ACL of at least size bytes.  A  pointer  to
       the  working  storage  is returned. When the area is first
       allocated, it contains a ACL that has no ACL entries.

RETURN VALUES    [Toc]    [Back]

       Upon  successful  completion,  the   acl_init()   function
       returns  a  pointer  to the working storage.  Otherwise, a
       NULL pointer is returned and errno is set to indicate  the
       error.

ERRORS    [Toc]    [Back]

       If  any  of the following conditions occur, the acl_init()
       function returns a value of NULL and  sets  errno  to  the
       corresponding  value:  The  acl_t  to be returned requires
       more memory than allowed by the hardware or system-imposed
       memory  management  constraints.  The function is not supported
 by the implementation.

SEE ALSO    [Toc]    [Back]

      
      
       acl_add_perm(3),  acl_clear_perm(3),  acl_create_entry(3),
       acl_free(3)

       Security



                                                      acl_init(3)
[ Back ]
 Similar pages
Name OS Title
acl_init FreeBSD initialize ACL working storage
acl_free Tru64 Releases an ACL internal working storage area for an ACL
acl_free_text Tru64 Releases an ACL text working storage
usnewlock IRIX allocate and initialize a lock
usnewsema IRIX allocate and initialize a semaphore
usnewpollsema IRIX allocate and initialize a pollable semaphore
CSSM_TP_CertCreateTemplate Tru64 Allocate and initialize template memory (CDSA)
TP_CertCreateTemplate Tru64 Allocate and initialize template memory (CDSA)
mac_prepare_process_label FreeBSD allocate appropriate storage for mac_t
mac_prepare_ifnet_label FreeBSD allocate appropriate storage for mac_t
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service