aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/copy_file_range.2
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2020-03-30 21:44:00 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2020-03-30 21:44:00 +0000
commite42b09643997affce935b2197814381c7ee856c1 (patch)
tree103c5e0c7eaf6c0e1dba877e6a0071f9f63c55a5 /lib/libc/sys/copy_file_range.2
parentbbca4bd7cdc0e8be19250ade52170778b557b928 (diff)
downloadsrc-e42b09643997affce935b2197814381c7ee856c1.tar.gz
src-e42b09643997affce935b2197814381c7ee856c1.zip
Document EINTEGRITY errors for many system calls.
EINTEGRITY was previously documented as a UFS-specific error for mount(2). This documents EINTEGRITY as a filesystem-independent error that may be reported by the backing store of a filesystem. While here, document EIO as a filesystem-independent error for both mount(2) and posix_fadvise(2). EIO was previously only documented for UFS for mount(2). Reviewed by: mckusick Suggested by: mckusick MFC after: 2 weeks Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D24168
Notes
Notes: svn path=/head/; revision=359465
Diffstat (limited to 'lib/libc/sys/copy_file_range.2')
-rw-r--r--lib/libc/sys/copy_file_range.24
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/sys/copy_file_range.2 b/lib/libc/sys/copy_file_range.2
index 1d26b039ea26..2f42c78b57f5 100644
--- a/lib/libc/sys/copy_file_range.2
+++ b/lib/libc/sys/copy_file_range.2
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd November 9, 2019
+.Dd March 30, 2020
.Dt COPY_FILE_RANGE 2
.Os
.Sh NAME
@@ -180,6 +180,8 @@ flags
is not zero.
.It Bq Er EIO
An I/O error occurred while reading/writing the files.
+.It Bq Er EINTEGRITY
+Corrupted data was detected while reading from a file system.
.It Bq Er EISDIR
If either
.Fa infd