Mercurial > illumos > git > illumos-gate
changeset 20076:b92ba16050ab
13197 Fix typo in statvfs(2) man page
Reviewed by: C Fraire <cfraire@me.com>
Approved by: Robert Mustacchi <rm@fingolfin.org>
author | Nan Xiao <nan@chinadtrace.org> |
---|---|
date | Sat, 03 Oct 2020 11:09:17 +0800 |
parents | 7f8392f99e9f |
children | 995d31a91bce |
files | usr/src/man/man2/statvfs.2 |
diffstat | 1 files changed, 2 insertions(+), 17 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/man/man2/statvfs.2 Wed Sep 30 07:57:42 2020 -0600 +++ b/usr/src/man/man2/statvfs.2 Sat Oct 03 11:09:17 2020 +0800 @@ -3,11 +3,10 @@ .\" 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 STATVFS 2 "Mar 22, 2004" +.TH STATVFS 2 "Oct 3, 2020" .SH NAME statvfs, fstatvfs \- get file system information .SH SYNOPSIS -.LP .nf #include <sys/types.h> #include <sys/statvfs.h> @@ -21,8 +20,6 @@ .fi .SH DESCRIPTION -.sp -.LP The \fBstatvfs()\fR function returns a "generic superblock" describing a file system; it can be used to acquire information about mounted file systems. The \fIbuf\fR argument is a pointer to a structure (described below) that is filled @@ -86,13 +83,9 @@ file descriptor \fIfildes\fR obtained from a successful \fBopen\fR(2), \fBcreat\fR(2), \fBdup\fR(2), \fBfcntl\fR(2), or \fBpipe\fR(2) function call. .SH RETURN VALUES -.sp -.LP Upon successful completion, \fB0\fR is returned. Otherwise, \fB\(mi1\fR is returned and \fBerrno\fR is set to indicate the error. .SH ERRORS -.sp -.LP The \fBstatvfs()\fR and \fBfstatvfs()\fR functions will fail if: .sp .ne 2 @@ -159,7 +152,7 @@ .ad .RS 16n The length of a \fIpath\fR component exceeds \fBNAME_MAX\fR characters, or the -length of \fIpath\fR The exceeds \fBPATH_MAX\fR characters. +length of \fIpath\fR exceeds \fBPATH_MAX\fR characters. .RE .sp @@ -231,13 +224,9 @@ .RE .SH USAGE -.sp -.LP The \fBstatvfs()\fR and \fBfstatvfs()\fR functions have transitional interfaces for 64-bit file offsets. See \fBlf64\fR(5). .SH ATTRIBUTES -.sp -.LP See \fBattributes\fR(5) for descriptions of the following attributes: .sp @@ -252,14 +241,10 @@ .TE .SH SEE ALSO -.sp -.LP \fBchmod\fR(2), \fBchown\fR(2), \fBcreat\fR(2), \fBdup\fR(2), \fBfcntl\fR(2), \fBlink\fR(2), \fBmknod\fR(2), \fBopen\fR(2), \fBpipe\fR(2), \fBread\fR(2), \fBtime\fR(2), \fBunlink\fR(2), \fButime\fR(2), \fBwrite\fR(2), \fBattributes\fR(5), \fBlf64\fR(5), \fBstandards\fR(5) .SH BUGS -.sp -.LP The values returned for \fBf_files\fR, \fBf_ffree\fR, and \fBf_favail\fR may not be valid for \fBNFS\fR mounted file systems.