Module Name: src
Committed By: wiz
Date: Fri Jul 25 08:47:42 UTC 2014
Modified Files:
src/lib/libc/sys: fdiscard.2
Log Message:
Sort errors. Whitespace nits.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/libc/sys/fdiscard.2
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/sys/fdiscard.2
diff -u src/lib/libc/sys/fdiscard.2:1.1 src/lib/libc/sys/fdiscard.2:1.2
--- src/lib/libc/sys/fdiscard.2:1.1 Fri Jul 25 08:30:47 2014
+++ src/lib/libc/sys/fdiscard.2 Fri Jul 25 08:47:42 2014
@@ -1,4 +1,4 @@
-.\" $NetBSD: fdiscard.2,v 1.1 2014/07/25 08:30:47 dholland Exp $
+.\" $NetBSD: fdiscard.2,v 1.2 2014/07/25 08:47:42 wiz Exp $
.\"
.\" Copyright (c) 2014 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -75,7 +75,7 @@ may discard less physical space than req
When
.Fn posix_fallocate
is applied to an unallocated region in a regular file (a
-.Dq hole ),
+.Dq hole ) ,
the hole is filled and the visible contents are unaffected; both holes
and newly allocated regions read as all zeros.
If
@@ -137,16 +137,16 @@ is set to indicate the error.
The file handle
.Fa fd
is invalid or not open for writing.
+.It Bq Er EDQUOT
+Allocating the requested blocks would exceed the user's quota.
.It Bq Er EINVAL
The position and/or length values are negative.
-.It Bq Er EISDIR
-The selected file is a directory.
.It Bq Er EIO
A hardware-level I/O error occurred.
+.It Bq Er EISDIR
+The selected file is a directory.
.It Bq Er ENOSPC
-There was no space in the filesystem to complete the operation.
-.It Bq Er EDQUOT
-Allocating the requested blocks would exceed the user's quota.
+There was no space in the file system to complete the operation.
.El
.Sh SEE ALSO
.Xr ftruncate 2
@@ -160,5 +160,5 @@ function calls appeared in
Similar functions appeared previously in Linux.
The
.Fn posix_fallocate
-function is expected to conform to
+function is expected to conform to
.St -p1003.1-2004 .