Annotation of src/lib/libc/posix1e/acl_get_tag_type.3, Revision 1.2
1.2 ! wiz 1: .\" $NetBSD$
1.1 christos 2: .\"-
3: .\" Copyright (c) 2001 Chris D. Faulhaber
4: .\" All rights reserved.
5: .\"
6: .\" Redistribution and use in source and binary forms, with or without
7: .\" modification, are permitted provided that the following conditions
8: .\" are met:
9: .\" 1. Redistributions of source code must retain the above copyright
10: .\" notice, this list of conditions and the following disclaimer.
11: .\" 2. Redistributions in binary form must reproduce the above copyright
12: .\" notice, this list of conditions and the following disclaimer in the
13: .\" documentation and/or other materials provided with the distribution.
14: .\"
15: .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16: .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17: .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18: .\" ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
19: .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20: .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21: .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22: .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23: .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24: .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25: .\" SUCH DAMAGE.
26: .\"
27: .\" $FreeBSD: head/lib/libc/posix1e/acl_get_tag_type.3 267774 2014-06-23 08:25:03Z bapt $
28: .\"
29: .Dd March 10, 2001
30: .Dt ACL_GET_TAG_TYPE 3
31: .Os
32: .Sh NAME
33: .Nm acl_get_tag_type
34: .Nd retrieve the tag type from an ACL entry
35: .Sh LIBRARY
36: .Lb libc
37: .Sh SYNOPSIS
38: .In sys/types.h
39: .In sys/acl.h
40: .Ft int
41: .Fn acl_get_tag_type "acl_entry_t entry_d" "acl_tag_t *tag_type_p"
42: .Sh DESCRIPTION
43: The
44: .Fn acl_get_tag_type
45: function
46: is a POSIX.1e call that returns the tag type for the ACL entry
47: .Fa entry_d .
48: Upon successful completion, the location referred to by the argument
49: .Fa tag_type_p
50: will be set to the tag type of the ACL entry
51: .Fa entry_d .
52: .Sh RETURN VALUES
53: .Rv -std acl_get_tag_type
54: .Sh ERRORS
55: The
56: .Fn acl_get_tag_type
57: function fails if:
58: .Bl -tag -width Er
59: .It Bq Er EINVAL
60: Argument
61: .Fa entry_d
62: is not a valid descriptor for an ACL entry;
63: .El
64: .Sh SEE ALSO
65: .Xr acl 3 ,
66: .Xr acl_create_entry 3 ,
67: .Xr acl_get_entry 3 ,
68: .Xr acl_get_qualifier 3 ,
69: .Xr acl_init 3 ,
70: .Xr acl_set_qualifier 3 ,
71: .Xr acl_set_tag_type 3 ,
72: .Xr posix1e 3
73: .Sh STANDARDS
74: POSIX.1e is described in IEEE POSIX.1e draft 17.
75: .Sh HISTORY
76: POSIX.1e support was introduced in
77: .Fx 4.0 .
78: The
79: .Fn acl_get_tag_type
80: function was added in
81: .Fx 5.0 .
82: .Sh AUTHORS
83: The
84: .Fn acl_get_tag_type
85: function was written by
86: .An Chris D. Faulhaber Aq Mt jedgar@fxp.org .
CVSweb <webmaster@jp.NetBSD.org>