diff --git a/man-pages/man2/copy_file_range.2 b/man-pages/man2/copy_file_range.2 index 35c0967..f25ea95 100644 --- a/man-pages/man2/copy_file_range.2 +++ b/man-pages/man2/copy_file_range.2 @@ -78,7 +78,7 @@ is adjusted appropriately. The .I flags argument is provided to allow for future extensions -and currently must be to 0. +and currently must be set to 0. .SH RETURN VALUE Upon successful completion, .BR copy_file_range () @@ -109,7 +109,11 @@ maximum file size or the process's file size limit, or to write at a position past the maximum allowed offset. .TP .B EINVAL -Requested range extends beyond the end of the source file; or the +Requested range extends beyond the end of the source file; or either +.I fd_in +or +.I fd_out +is not a regular file; or the .I flags argument is not 0. .TP @@ -117,6 +121,7 @@ argument is not 0. A low-level I/O error occurred while copying. .TP .B EISDIR +Either .I fd_in or .I fd_out