Content-type: text/html Man page of acl_free_text

acl_free_text

Section: C Library Functions (3)
Index Return to Main Contents
 

NAME

acl_free_text - Releases an ACL text working storage  

LIBRARY

Security Library (libpacl.a)  

SYNOPSIS

#include <sys/acl.h>

int acl_free_text(        char buf_p);
 

PARAMETERS

Specifies the text external representation storage for the ACL being freed.  

DESCRIPTION

NOTE: This function is based on Draft 13 of the POSIX P1003.6 standard. The function may change as the P1003.6 standard is finalized.

The acl_free_text() function releases the allocated memory area associated with the ACL text indicated by the buf_p descriptor.  

RETURN VALUES

Upon successful completion, the acl_free_text() function returns a value of 0 (zero). Otherwise, a value of -1 is returned and errno is set to indicate the error.  

ERRORS

If any of the following conditions occur, the acl_free_text() function sets errno to the corresponding value:

The acl_d parameter does not refer to a string allocated by acl_to_text().  

RELATED INFORMATION

acl_to_text(3), acl_init(3)

Security delim off


 

Index

NAME
LIBRARY
SYNOPSIS
PARAMETERS
DESCRIPTION
RETURN VALUES
ERRORS
RELATED INFORMATION

This document was created by man2html, using the manual pages.
Time: 02:41:14 GMT, October 02, 2010