summaryrefslogtreecommitdiff
path: root/usr/src/man/man3c/fgetattr.3c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man3c/fgetattr.3c')
-rw-r--r--usr/src/man/man3c/fgetattr.3c67
1 files changed, 26 insertions, 41 deletions
diff --git a/usr/src/man/man3c/fgetattr.3c b/usr/src/man/man3c/fgetattr.3c
index 25c6d1bded..efae0e0ace 100644
--- a/usr/src/man/man3c/fgetattr.3c
+++ b/usr/src/man/man3c/fgetattr.3c
@@ -3,7 +3,7 @@
.\" 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 fgetattr 3C "4 Aug 2008" "SunOS 5.11" "Standard C Library Functions"
+.TH FGETATTR 3C "Aug 4, 2008"
.SH NAME
fgetattr, fsetattr, getattrat, setattrat \- get and set system attributes
.SH SYNOPSIS
@@ -81,30 +81,28 @@ each view:
.sp
.TS
-tab();
-cw(1.83i) cw(1.83i) cw(1.83i)
-lw(1.83i) lw(1.83i) lw(1.83i)
-.
-ViewAttributeData type
+c c c
+l l l .
+View Attribute Data type
_
-\fBXATTR_VIEW_READONLY\fR\fBA_FSID\fR\fBuint64_value\fR
-\fBA_OPAQUE\fR\fBboolean_value\fR
-\fBA_AV_SCANSTAMP\fR\fBuint8_array[]\fR
-\fBXATTR_VIEW_READWRITE\fR\fBA_READONLY\fR\fBboolean_value\fR
-\fBA_HIDDEN\fR\fBboolean_value\fR
-\fBA_SYSTEM\fR\fBboolean_value\fR
-\fBA_ARCHIVE\fR\fBboolean_value\fR
-\fBA_CRTIME\fR\fBuint64_array\fR[2]
-\fBA_NOUNLINK\fR\fBboolean_value\fR
-\fBA_IMMUTABLE\fR\fBboolean_value\fR
-\fBA_APPENDONLY\fR\fBboolean_value\fR
-\fBA_NODUMP\fR\fBboolean_value\fR
-\fBA_AV_QUARANTINED\fR\fBboolean_value\fR
-\fBA_AV_MODIFIED\fR\fBboolean_value\fR
-\fBA_OWNERSID\fRT{
+\fBXATTR_VIEW_READONLY\fR \fBA_FSID\fR \fBuint64_value\fR
+ \fBA_OPAQUE\fR \fBboolean_value\fR
+ \fBA_AV_SCANSTAMP\fR \fBuint8_array[]\fR
+\fBXATTR_VIEW_READWRITE\fR \fBA_READONLY\fR \fBboolean_value\fR
+ \fBA_HIDDEN\fR \fBboolean_value\fR
+ \fBA_SYSTEM\fR \fBboolean_value\fR
+ \fBA_ARCHIVE\fR \fBboolean_value\fR
+ \fBA_CRTIME\fR \fBuint64_array\fR[2]
+ \fBA_NOUNLINK\fR \fBboolean_value\fR
+ \fBA_IMMUTABLE\fR \fBboolean_value\fR
+ \fBA_APPENDONLY\fR \fBboolean_value\fR
+ \fBA_NODUMP\fR \fBboolean_value\fR
+ \fBA_AV_QUARANTINED\fR \fBboolean_value\fR
+ \fBA_AV_MODIFIED\fR \fBboolean_value\fR
+ \fBA_OWNERSID\fR T{
nvlist composed of \fBuint32_value\fR and \fBstring\fR
T}
-\fBA_GROUPSID\fRT{
+ \fBA_GROUPSID\fR T{
nvlist composed of \fBuint32_value\fR and \fBstring\fR
T}
.TE
@@ -121,34 +119,28 @@ The \fBfgetattr()\fR, \fBgetattrat()\fR, \fBfsetattr()\fR, and
\fBsetattrat()\fR, functions will fail if:
.sp
.ne 2
-.mk
.na
\fB\fBEBADF\fR\fR
.ad
.RS 10n
-.rt
The \fIfildes\fR argument is not a valid open file descriptor.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEINVAL\fR\fR
.ad
.RS 10n
-.rt
The underlying file system does not support extended file attributes.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEIO\fR\fR
.ad
.RS 10n
-.rt
An error occurred while reading from the file system.
.RE
@@ -157,35 +149,29 @@ An error occurred while reading from the file system.
The \fBgetattrat()\fR and \fBsetattrat()\fR functions will fail if:
.sp
.ne 2
-.mk
.na
\fB\fBEACCES\fR\fR
.ad
.RS 10n
-.rt
Search permission or write permission for \fIfilename\fR is denied.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBENOENT\fR\fR
.ad
.RS 10n
-.rt
The \fIfilename\fR argument does not name an existing file in the extended
attribute directory represented by \fIfildes\fR.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEPERM\fR\fR
.ad
.RS 10n
-.rt
There are insufficient privileges to manipulate attributes.
.RE
@@ -308,15 +294,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 StabilityCommitted
+Interface Stability Committed
_
-MT-LevelSafe
+MT-Level Safe
.TE
.SH SEE ALSO