Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/sys Sort errors. Whitespace nits.
details: https://anonhg.NetBSD.org/src/rev/e1362b72fa9f
branches: trunk
changeset: 330922:e1362b72fa9f
user: wiz <wiz%NetBSD.org@localhost>
date: Fri Jul 25 08:47:42 2014 +0000
description:
Sort errors. Whitespace nits.
diffstat:
lib/libc/sys/fdiscard.2 | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diffs (47 lines):
diff -r c56d812dbc19 -r e1362b72fa9f lib/libc/sys/fdiscard.2
--- a/lib/libc/sys/fdiscard.2 Fri Jul 25 08:44:54 2014 +0000
+++ b/lib/libc/sys/fdiscard.2 Fri Jul 25 08:47:42 2014 +0000
@@ -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 @@
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 @@
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 EIO
+A hardware-level I/O error occurred.
.It Bq Er EISDIR
The selected file is a directory.
-.It Bq Er EIO
-A hardware-level I/O error occurred.
.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 @@
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 .
Home |
Main Index |
Thread Index |
Old Index