diff options
author | Rick Macklem <rmacklem@FreeBSD.org> | 2019-11-08 06:40:17 +0000 |
---|---|---|
committer | Rick Macklem <rmacklem@FreeBSD.org> | 2019-11-08 06:40:17 +0000 |
commit | b2ea509012bfa644071ed9d513908ab8e8767ea4 (patch) | |
tree | d86445e7a1af0353ee9a91ca1414a3af130d88c1 | |
parent | 55073c7837899a9fa515033f3055ebe20407d161 (diff) | |
download | src-b2ea509012bfa644071ed9d513908ab8e8767ea4.tar.gz src-b2ea509012bfa644071ed9d513908ab8e8767ea4.zip |
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.
Notes
Notes:
svn path=/head/; revision=354528
-rw-r--r-- | share/man/man9/VOP_COPY_FILE_RANGE.9 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/share/man/man9/VOP_COPY_FILE_RANGE.9 b/share/man/man9/VOP_COPY_FILE_RANGE.9 index d5fdd63738b7..9bed24b9ea9d 100644 --- a/share/man/man9/VOP_COPY_FILE_RANGE.9 +++ b/share/man/man9/VOP_COPY_FILE_RANGE.9 @@ -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 |