ACL_FROM_TEXT(3) BSD Library Functions Manual ACL_FROM_TEXT(3)
acl_to_text — convert an ACL to text
Linux Access Control Lists library (libacl, −lacl).
acl_to_text(acl_t acl, ssize_t *len_p);
The acl_to_text() function translates the ACL pointed to by the argument acl into a NULL terminated character string. If the pointer len_p is not NULL, then the function returns the length of the string (not including the NULL terminator) in the location pointed to by len_p. The format of the text string returned by acl_to_text() is the long text form defined in acl(5). The ACL referred to by acl is not changed.
This function allocates any memory necessary to contain the string and returns a pointer to the string. The caller should free any releasable memory, when the new string is no longer required, by calling acl_free(3) with the (void*)char returned by acl_to_text() as an argument.
On success, this function returns a pointer to the long text form of the ACL. On error, a value of (char *)NULL is returned, and errno is set appropriately.
If any of the following conditions occur, the acl_to_text() function returns a value of (char *)NULL and sets errno to the corresponding value:
The argument acl is not a valid pointer to an ACL.
The ACL referenced by acl contains one or more improperly formed ACL entries, or for some other reason cannot be translated into a text form of an ACL.
The character string to be returned requires more memory than is allowed by the hardware or system-imposed memory management constraints.
IEEE Std 1003.1e draft 17 (“POSIX.1e”, abandoned)
Derived from the FreeBSD manual pages written by Robert N M Watson 〈 rwatson@FreeBSD.org〉 , and adapted for Linux by Andreas Gruenbacher 〈 firstname.lastname@example.org〉 .
Linux ACL March 23, 2002 Linux ACL
More Linux Commands
Tcl_FSEvalFileEx(3) - procedures to interact with any filesy
There are several reasons for calling the Tcl_FS API functions (e.g. Tcl_FSAccess and Tcl_FSStat) rather than calling system level functions like access and sta
keyctl(1) - Key management facility control - Linux man page
This program is used to control the key management facility in various ways using a variety of subcommands. KEY IDENTIFIERS The key identifiers passed to or ret
XkbSARedirectVMods(3) - Returns the vmods0 and vmods1 fields
XkbSARedirectVMods.3 - Actions associated with the XkbRedirectKeyAction structure generate KeyPress and KeyRelease events containing a keycode different from th
motd.news(5) - Message of the day information for readers...
This file, found in pathetc/motd.news, contains local information for news readers in a free-form format. The entire file is returned verbatim to any client tha
log10(3) - base-10 logarithmic function - Linux manual page
The log10() function returns the base 10 logarithm of x. RETURN VALUE On success, these functions return the base 10 logarithm of x. For special cases, includin
outb(2) - port I/O (System calls - Linux man page)..........
outb.2 - This family of functions is used to do low-level port input and output. The out* functions do port output, the in* functions do port input; the b-suffi
localedef(1) - compile locale definition files (Man Page)...
The localedef program reads the indicated charmap and input files, compiles them to a binary form quickly usable by the locale functions in the C library (setlo
dracut.bootup(7) boot ordering in the initramfs (Man Page)
This flow chart illustrates the ordering of the services, if systemd is used in the dracut initramfs. systemd-journal.socket | v dracut-cmdline.service | v drac
Tk_SetClassProcs(3) - register widget specific procedures...
Tk_SetClassProcs is called to register a set of procedures that are used as callbacks in different places. The structure pointed to by procs contains the follow
io_submit(2) - submit asynchronous I/O blocks for processing
The io_submit() system call queues nr I/O request blocks for processing in the AIO context ctx_id. The iocbpp argument should be an array of nr AIO control bloc
curl_easy_reset(3) - reset all options of a libcurl session
Re-initializes all options previously set on a specified CURL handle to the default values. This puts back the handle to the same state as it was in when it was
ldap(3) - OpenLDAP Lightweight Directory Access Protocol API
The Lightweight Directory Access Protocol (LDAP) (RFC 4510) provides access to X.500 directory services. These services may be stand-alone or part of a distribu