Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115821992
D43227.id131963.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
986 B
Referenced Files
None
Subscribers
None
D43227.id131963.diff
View Options
diff --git a/lib/libc/sys/copy_file_range.2.sav b/lib/libc/sys/copy_file_range.2
--- a/lib/libc/sys/copy_file_range.2.sav
+++ b/lib/libc/sys/copy_file_range.2
@@ -23,13 +23,13 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd January 2, 2021
+.Dd December 28, 2023
.Dt COPY_FILE_RANGE 2
.Os
.Sh NAME
.Nm copy_file_range
-.Nd kernel copy of a byte range from one file to another
-or within one file
+.Nd kernel copy of a byte range from one regular file to another
+or within one regular file
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
@@ -178,9 +178,16 @@
.Fa infd
and
.Fa outfd
-refer to the same file and the byte ranges overlap or
+refer to the same file and the byte ranges overlap.
+.It Bq Er EINVAL
.Fa flags
is not zero.
+.It Bq Er EINVAL
+Either
+.Fa infd
+or
+.Fa outfd
+refers to a file object that is not a regular file.
.It Bq Er EIO
An I/O error occurred while reading/writing the files.
.It Bq Er EINTEGRITY
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 30, 3:53 AM (10 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17851169
Default Alt Text
D43227.id131963.diff (986 B)
Attached To
Mode
D43227: Clarify that copy_file_range(2) only operates on regular file objects in copy_file_range.2
Attached
Detach File
Event Timeline
Log In to Comment