summaryrefslogtreecommitdiff
path: root/usr/src/man/man3sec/acl_get.3sec
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man3sec/acl_get.3sec')
-rw-r--r--usr/src/man/man3sec/acl_get.3sec27
1 files changed, 8 insertions, 19 deletions
diff --git a/usr/src/man/man3sec/acl_get.3sec b/usr/src/man/man3sec/acl_get.3sec
index 0e14bef268..065a0eec5d 100644
--- a/usr/src/man/man3sec/acl_get.3sec
+++ b/usr/src/man/man3sec/acl_get.3sec
@@ -3,14 +3,14 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH acl_get 3SEC "6 Oct 2005" "SunOS 5.11" "File Access Control Library Functions"
+.TH ACL_GET 3SEC "Oct 6, 2005"
.SH NAME
acl_get, facl_get, acl_set, facl_set \- get or set a file's Access Control List
(ACL)
.SH SYNOPSIS
.LP
.nf
-cc [ \fIflag\fR\&.\|.\|. ] \fIfile\fR\&.\|.\|. \fB-lsec\fR [ \fIlibrary\fR\&.\|.\|. ]
+cc [ \fIflag\fR\&.\|.\|. ] \fIfile\fR\&.\|.\|. \fB-lsec\fR [ \fIlibrary\fR\&.\|.\|. ]
#include <sys/acl.h>
\fBint *\fR\fBacl_get\fR(\fBconst char *\fR\fIpath\fR, \fBint\fR \fIflag\fR, \fBacl_t **\fR\fIaclp\fR);
@@ -70,56 +70,46 @@ Otherwise, -1 is returned and \fBerrno\fR is set to indicate the error.
These functions will fail if:
.sp
.ne 2
-.mk
.na
\fB\fBEACCES\fR\fR
.ad
.RS 11n
-.rt
The caller does not have access to a component of \fIpath\fR.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEIO\fR\fR
.ad
.RS 11n
-.rt
A disk I/O error has occured while retrieving the ACL.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBENOENT\fR\fR
.ad
.RS 11n
-.rt
A component of the \fIpath\fR does not exist.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBENOSYS\fR\fR
.ad
.RS 11n
-.rt
The file system does not support ACLs.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBENOTSUP\fR\fR
.ad
.RS 11n
-.rt
The ACL supplied could not be translated to an NFSv4 ACL.
.RE
@@ -131,15 +121,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-Interface StabilityEvolving
+Interface Stability Evolving
_
-MT-LevelMT-Safe
+MT-Level MT-Safe
.TE
.SH SEE ALSO