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

  man pages->Tru64 Unix man pages -> acl_to_text (3)              



NAME    [Toc]    [Back]

       acl_to_text - Converts an ACL to an ASCII string

SYNOPSIS    [Toc]    [Back]

       #include <sys/acl.h>

       char * acl_to_text(
               acl_t acl_d,
               ssize_t *len_p );

LIBRARY    [Toc]    [Back]

       Security Library (libpacl.a)

PARAMETERS    [Toc]    [Back]

       Designates  the working storage internal representation of
       an  ACL  to  convert  to  text  external   representation.
       Pointer  to  location  to  hold the length of the returned
       string or NULL.

DESCRIPTION    [Toc]    [Back]

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

       Given an ACL the acl_to_text() function converts it into a
       NULL terminated ASCII character string. The  acl_to_text()
       function  allocates  any  memory  necessary and places the
       length of the string returned at len_p.

RETURN VALUES    [Toc]    [Back]

       Upon successful  completion,  the  acl_to_text()  function
       returns an address pointing to the text external representation
 of the ACL.  Otherwise, a value of NULL is returned
       and errno is set to indicate the error.

ERRORS    [Toc]    [Back]

       If   any   of   the   following   conditions   occur,  the
       acl_to_text() function sets  errno  to  the  corresponding

       The argument acl_d is not in a recognized format.

              The  argument acl_d contains one or more improperly
              formatted ACL entries.  There is not enough  memory
              available  to the process to allocate the character

SEE ALSO    [Toc]    [Back]

       acl_size(3), acl_from_text(3)


[ Back ]
 Similar pages
Name OS Title
DXmCvtFCtoCS Tru64 Converts a string in the file-compatible format to a compound string.
DXmCvtOStoCS Tru64 Converts a string in the operating-systemspecific format to a compound string.
XmStringParseText HP-UX A function that converts a character string to a compound string
XmCvtByteStreamToXmString HP-UX A compound string function that converts from a compound string in Byte Stream format to a compound string
XmCvtXmStringToByteStream HP-UX A compound string function that converts a compound string to a Byte Stream format
DXmCvtCStoFC Tru64 Converts a compound string to a file-compatible format string. Currently uses text format.
XmStringTableToXmString HP-UX A convenience function that converts a compound string table to a single compound string
XmCvtStringToUnitType IRIX A function that converts a string to
XmCvtStringToUnitType Tru64 A function that converts a string
wcsrtombs NetBSD converts a wide character string to a multibyte character string (restartable)
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service