summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-05-16 09:50:12 +0000
committerru <ru@FreeBSD.org>2001-05-16 09:50:12 +0000
commit5f3f5f80917c3eb68801a4a1a7405ce755c56541 (patch)
tree4f5cb3b58035ea0e1190698a9ad63f7e3e8b76e8 /lib
parent95f6793be4ca22fd15fab9730d9fc75610ec53a8 (diff)
downloadFreeBSD-src-5f3f5f80917c3eb68801a4a1a7405ce755c56541.zip
FreeBSD-src-5f3f5f80917c3eb68801a4a1a7405ce755c56541.tar.gz
mdoc(7) police: fix markup.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/posix1e/acl_get_entry.39
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/libc/posix1e/acl_get_entry.3 b/lib/libc/posix1e/acl_get_entry.3
index 66c60e3..1798497 100644
--- a/lib/libc/posix1e/acl_get_entry.3
+++ b/lib/libc/posix1e/acl_get_entry.3
@@ -70,17 +70,16 @@ or a previous successfull call to
.Fn acl_get_fd ,
.Fn acl_get_file ,
.Fn acl_set_fd ,
-.Fn acl_set_file,
+.Fn acl_set_file ,
or
.Fn acl_valid ,
then the result is unspecified.
-.Pp
.Sh RETURN VALUES
If the
.Fn acl_get_entry
function successfully obtains an ACL entry, a value of 1 is returned.
If the ACL has no ACL entries, the
-.Fn function
+.Fn acl_get_entry
returns a value of 0. If the value of
.Fa entry_id
is
@@ -93,6 +92,7 @@ a value of 0 will be returned until a successful call with
of
.Dv ACL_FIRST_ENTRY
is made. Otherwise, a value of -1 will be returned and
+the global variable
.Va errno
will be set to indicate the error.
.Sh ERRORS
@@ -107,8 +107,9 @@ does not point to a valid ACL. Argument
.Fa entry_id
is neither
.Dv ACL_FIRST_ENTRY
-nor
+nor
.Dv ACL_NEXT_ENTRY .
+.El
.Sh SEE ALSO
.Xr acl 3 ,
.Xr acl_calc_mask 3 ,
OpenPOWER on IntegriCloud