Get the type of tag from an ACL entry
#include <sys/acl.h> int acl_get_tag_type( acl_entry_t entry_d, acl_tag_t *tag_type_p );
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The acl_get_tag_type() function gets the tag type from an ACL entry and stores it in the location pointed to by tag_type_p.
0, or -1 if an error occurred (errno is set, and the location pointed to by tag_type_p isn't changed).
This function is based on the withdrawn POSIX draft P1003.1e.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | No |
Thread | Yes |