Date: Fri, 8 Nov 2019 06:40:17 +0000 (UTC) From: Rick Macklem <rmacklem@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r354528 - head/share/man/man9 Message-ID: <201911080640.xA86eHMw022707@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rmacklem Date: Fri Nov 8 06:40:17 2019 New Revision: 354528 URL: https://svnweb.freebsd.org/changeset/base/354528 Log: Fix the man page to correctly describe the use of the "len" argument. The man page incorrectly described the use of the"len" argument, which is updated to the number of bytes copied and not reduced by the number of bytes copied. This is a content change. Modified: head/share/man/man9/VOP_COPY_FILE_RANGE.9 Modified: head/share/man/man9/VOP_COPY_FILE_RANGE.9 ============================================================================== --- head/share/man/man9/VOP_COPY_FILE_RANGE.9 Fri Nov 8 04:26:19 2019 (r354527) +++ head/share/man/man9/VOP_COPY_FILE_RANGE.9 Fri Nov 8 06:40:17 2019 (r354528) @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd July 24, 2019 +.Dd November 7, 2019 .Dt VOP_COPY_FILE_RANGE 9 .Os .Sh NAME @@ -60,7 +60,7 @@ The vnode of the output file. .It Fa outoff A pointer to the file offset for the output file. .It Fa len -A pointer to the number of bytes to be copied. +A pointer to the byte count for the copy. .It Fa flags Flags, should be set to 0 for now. .It Fa incred @@ -89,11 +89,11 @@ The .Fa len argument points to the location that stores the number of bytes to be copied. -It should be reduced by the number of bytes copied, which implies that -the value pointed to by +Upon a successful return .Fa len -will normally be zero for a non-error return. -However, a copy of fewer bytes than requested is permitted. +will be updated to the number of bytes actually copied. +Normally, this will be the number of bytes requested to be copied, +however a copy of fewer bytes than requested is permitted. .Sh LOCKS The vnode are unlocked on entry and must be unlocked on return. The byte ranges for both
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911080640.xA86eHMw022707>