summaryrefslogtreecommitdiff
path: root/usr/src/man/man3c
diff options
context:
space:
mode:
authorMarcel Telka <marcel.telka@nexenta.com>2014-11-24 21:34:17 +0100
committerDan McDonald <danmcd@omniti.com>2014-11-24 16:42:33 -0500
commit2f183016d19cb0c342edba0c4f2c9058f07298a9 (patch)
tree3103a2add9ffb518a27b8ff85db68c178ef20888 /usr/src/man/man3c
parent22fec8cf7c90530cbbeb80ea11190db467cb2e21 (diff)
downloadillumos-joyent-2f183016d19cb0c342edba0c4f2c9058f07298a9.tar.gz
3614 The 'offline' and 'sparse' extended system attributes should be documented in man pages
Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Gordon Ross <gordon.ross@nexenta.com> Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Approved by: Dan McDonald <danmcd@omniti.com>
Diffstat (limited to 'usr/src/man/man3c')
-rw-r--r--usr/src/man/man3c/fgetattr.3c10
1 files changed, 4 insertions, 6 deletions
diff --git a/usr/src/man/man3c/fgetattr.3c b/usr/src/man/man3c/fgetattr.3c
index efae0e0ace..7b473bada4 100644
--- a/usr/src/man/man3c/fgetattr.3c
+++ b/usr/src/man/man3c/fgetattr.3c
@@ -1,9 +1,10 @@
'\" te
+.\" Copyright 2014 Nexenta Systems, Inc. All rights reserved.
.\" Copyright (c) 2008, Sun Microsystems Inc. All Rights Reserved.
.\" 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 "Aug 4, 2008"
+.TH FGETATTR 3C "Nov 24, 2014"
.SH NAME
fgetattr, fsetattr, getattrat, setattrat \- get and set system attributes
.SH SYNOPSIS
@@ -35,7 +36,6 @@ fgetattr, fsetattr, getattrat, setattrat \- get and set system attributes
.fi
.SH DESCRIPTION
-.sp
.LP
The \fBfgetattr()\fR function obtains an nvlist of system attribute information
about an open file object specified by the file descriptor \fIfildes\fR,
@@ -105,15 +105,15 @@ T}
\fBA_GROUPSID\fR T{
nvlist composed of \fBuint32_value\fR and \fBstring\fR
T}
+ \fBA_OFFLINE\fR \fBboolean_value\fR
+ \fBA_SPARSE\fR \fBboolean_value\fR
.TE
.SH RETURN VALUES
-.sp
.LP
Upon successful completion, 0 is returned. Otherwise, -1 is returned and
\fBerrno\fR is set to indicate the error.
.SH ERRORS
-.sp
.LP
The \fBfgetattr()\fR, \fBgetattrat()\fR, \fBfsetattr()\fR, and
\fBsetattrat()\fR, functions will fail if:
@@ -287,7 +287,6 @@ if (setattrat(fildes, XATTR_VIEW_READWRITE, "file", request)) {
.in -2
.SH ATTRIBUTES
-.sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
@@ -305,7 +304,6 @@ MT-Level Safe
.TE
.SH SEE ALSO
-.sp
.LP
\fBcreat\fR(2), \fBdup\fR(2), \fBfcntl\fR(2), \fBfstat\fR(2), \fBfstatat\fR(2),
\fBopen\fR(2), \fBpipe\fR(2), \fBlibnvpair\fR(3LIB), \fBattributes\fR(5),