Content-type: text/html Man page of acl_get_tag_type

acl_get_tag_type

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

NAME

acl_get_tag_type - Retrieves the entry type identifier for an ACL entry  

LIBRARY

Security Library (libpacl.a)  

SYNOPSIS

#include <sys/acl.h>

int acl_get_tag_type(        acl_entry_t entry_d);
       acl_tag_t *tag_type_p);
 

PARAMETERS

The working storage internal representation ACL entry to retrieve the tag type from. The storage location to place the tag type in.  

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_get_tag_type() function retrieves the tag type for the ACL entry and stores it in tag_type_p. The tag type tells what the ACL entry is (ACL_USER, ACL_USER_OBJ, ACL_GROUP, ACL_GROUP_OBJ, or ACL_OTHER_OBJ).  

RETURN VALUES

Upon successful completion, the acl_get_tag_type() 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_get_tag_type() function sets errno to the corresponding value:

Argument entry_d does not refer to a valid ACL entry.  

RELATED INFORMATION

acl_create_entry(3), acl_get_entry(3), acl_get_qualifier(3), acl_set_qualifier(3), acl_set_tag_type(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:40:49 GMT, October 02, 2010