acl_free_text(3) Library Functions Manual acl_free_text(3)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 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
acl_free_text(3)
Check Out this Related Man Page
acl_first_entry(3) Library Functions Manual acl_first_entry(3)NAME
acl_first_entry - Resets the current ACL entry to be the first ACL entry
LIBRARY
Security Library (libpacl.a)
SYNOPSIS
#include <sys/acl.h>
int acl_first_entry( acl_t acl_d);
PARAMETERS
Specifies the working storage internal representation ACL descriptor.
DESCRIPTION
NOTE: This function is based on Draft 13 of the POSIX P1003.6 standard.
The acl_first_entry() function sets the internal ACL entry offset pointer of the specified ACL such that a subsequent call to
acl_get_entry() for that ACL, returns the first entry in the ACL.
RETURN VALUES
Upon successful completion, the acl_first_entry() function returns a value of 0 (zero). Otherwise, a value of -1 is returned, and the
errno global variable is set to indicate the error.
ERRORS
If any of the following conditions occur, the acl_first_entry() function sets errno to the corresponding value: The acl_d parameter does
not refer to a valid ACL structure.
RELATED INFORMATION acl_get_entry(3), acl_copy_entry(3), acl_create_entry(3), acl_delete_entry(3), acl(4)
Security delim off
acl_first_entry(3)
Hi Folks,
Today hasn't been the best one of my career in IT.
I've been a contractor for a major utility company for a number of years, on a number of seperate IT contracts mostly Unix. The company had 10 different flavours of unix and multiple different varsions of most of them.
At the... (3 Replies)