svn commit: r325422 - head/lib/libc/sys
Ed Maste
emaste at FreeBSD.org
Sun Nov 5 03:02:20 UTC 2017
Author: emaste
Date: Sun Nov 5 03:02:19 2017
New Revision: 325422
URL: https://svnweb.freebsd.org/changeset/base/325422
Log:
posix_fallocate.2: add an EINVAL errno case
As of r325320 posix_fallocate returns EINVAL on ZFS to indicate that
the underlying filesystem does not support this operation, per
POSIX.1-2008. Document this case in the man page.
MFC after: 20 days
MFC with: r325320
Sponsored by: The FreeBSD Foundation
Modified:
head/lib/libc/sys/posix_fallocate.2
Modified: head/lib/libc/sys/posix_fallocate.2
==============================================================================
--- head/lib/libc/sys/posix_fallocate.2 Sun Nov 5 02:47:46 2017 (r325421)
+++ head/lib/libc/sys/posix_fallocate.2 Sun Nov 5 03:02:19 2017 (r325422)
@@ -28,7 +28,7 @@
.\" @(#)open.2 8.2 (Berkeley) 11/16/93
.\" $FreeBSD$
.\"
-.Dd October 12, 2017
+.Dd November 4, 2017
.Dt POSIX_FALLOCATE 2
.Os
.Sh NAME
@@ -106,9 +106,10 @@ A signal was caught during execution.
.It Bq Er EINVAL
The
.Fa len
-argument was less than or equal to zero or the
+argument was less than or equal to zero, the
.Fa offset
-argument was less than zero.
+argument was less than zero,
+or the operation is not supported by the file system.
.It Bq Er EIO
An I/O error occurred while reading from or writing to a file system.
.It Bq Er ENODEV
More information about the svn-src-all
mailing list