ACLGETAGTYPE(3) BSD Library Functions Manual ACLGETAGTYPE(3)
NAME
aclgettagtype -- retrieve the tag type from an ACL entry
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
##include <>
##include <>
int
aclgettagtype(aclentryt entryd, acltagt *tagtypep);
DESCRIPTION
The aclgettagtype() function is a POSIX.1e call that returns the tag
type for the ACL entry entryd. Upon successful completion, the location
referred to by the argument tagtypep will be set to the tag type of the
ACL entry entryd.
RETURN VALUES
The aclgettagtype() function returns the value 0 if successful; other-
wise the value -1 is returned and the global variable errno is set to
indicate the error.
ERORS
The aclgettagtype() function fails if:
[EINVAL] Argument entryd is not a valid descriptor for an ACL
entry;
SEE ALSO
acl(3), aclcreateentry(3), aclgetentry(3), aclgetqualifier(3),
aclinit(3), aclsetqualifier(3), aclsettagtype(3), posix1e(3)
STANDARDS
POSIX.1e is described in IE POSIX.1e draft 17.
AUTHORS
Michael Smith
Chris D. Faulhaber
BSD March 10, 2001 BSD
|