diff options
Diffstat (limited to 'man/man3/acl_get_tag_type.3')
-rw-r--r-- | man/man3/acl_get_tag_type.3 | 89 |
1 files changed, 44 insertions, 45 deletions
diff --git a/man/man3/acl_get_tag_type.3 b/man/man3/acl_get_tag_type.3 index 43209e5..fa2111d 100644 --- a/man/man3/acl_get_tag_type.3 +++ b/man/man3/acl_get_tag_type.3 @@ -14,63 +14,62 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.TH ACL_GET_TAG_TYPE 3 "Linux ACL Library" "March 2002" "Access Control Lists" -.SH NAME -acl_get_tag_type \- get the tag type of an ACL entry -.SH LIBRARY +.Dd March 23, 2002 +.Dt ACL_GET_TAG_TYPE 3 +.Os "Linux ACL" +.Sh NAME +.Nm acl_get_tag_type +.Nd get the tag type of an ACL entry +.Sh LIBRARY Linux Access Control Lists library (libacl, \-lacl). -.SH C SYNOPSIS -.sp -.nf -.B #include <sys/types.h> -.B #include <sys/acl.h> -.sp -.B "int acl_get_tag_type (acl_entry_t \f2entry_d\f3, " -.B " acl_tag_t *\f2tag_type_p\f3);" -.Op -.SH DESCRIPTION +.Sh SYNOPSIS +.In sys/types.h +.In sys/acl.h +.Ft int +.Fn acl_get_tag_type "acl_entry_t entry_d" "acl_tag_t *tag_type_p" +.Sh DESCRIPTION The -.B acl_get_tag_type +.Fn acl_get_tag_type function assigns to the value pointed to by -.I tag_type_p +.Va tag_type_p the tag type for the ACL entry indicated by the argument -.IR entry_d . -.PP +.Va entry_d . +.Pp The argument -.I entry_d +.Va entry_d and any other ACL entry descriptors that refer to entries in the same ACL continue to refer to those entries. The order of all existing entries in the ACL remain unchanged. -.SH RETURN VALUE -The value 0 is returned if successful; otherwise the value -1 is -returned and the global variable errno is set to indicate the error. -.SH ERRORS +.Sh RETURN VALUE +.Rv -std acl_get_tag_type +.Sh ERRORS If any of the following conditions occur, the -.B acl_get_tag_type -function returns -1 and sets -.B errno +.Fn acl_get_tag_type +function returns +.Li -1 +and sets +.Va errno to the corresponding value: -.TP -.SM -\%[EINVAL] +.Bl -tag -width Er +.It Bq Er EINVAL The argument -.I entry_d +.Va entry_d is not a valid descriptor for an ACL entry. -.SH STANDARDS +.El +.Sh STANDARDS IEEE Std 1003.1e draft 17 (\(lqPOSIX.1e\(rq, abandoned) -.SH AUTHOR +.Sh SEE ALSO +.Xr acl_create_entry 3 , +.Xr acl_free 3 , +.Xr acl_get_entry 3 , +.Xr acl_get_permset 3 , +.Xr acl_get_qualifier 3 , +.Xr acl_set_permset 3 , +.Xr acl_set_qualifier 3 , +.Xr acl_set_tag_type 3 , +.Xr acl 5 +.Sh AUTHOR Derived from the FreeBSD manual pages written by -.IR "Robert N M Watson" ; +.An "Robert N M Watson" Aq rwatson@FreeBSD.org , and adapted for Linux by -.I "Andreas Gruenbacher" -<a.gruenbacher@computer.org>. -.SH SEE ALSO -.BR acl_create_entry (3), -.BR acl_get_entry (3), -.BR acl_get_qualifier (3), -.BR acl_set_qualifier (3), -.BR acl_set_tag_type (3), -.BR acl_get_permset (3), -.BR acl_set_pe)mset (3), -.BR acl_free (3), -.BR acl (5) +.An "Andreas Gruenbacher" Aq a.gruenbacher@computer.org . |