Merge branch 'rt-57517-file-handles'
[perl-fuse.git] / Fuse.pm
diff --git a/Fuse.pm b/Fuse.pm
index f9f6e73..3ab76a0 100755 (executable)
--- a/Fuse.pm
+++ b/Fuse.pm
@@ -401,7 +401,7 @@ Called in an attempt to fetch a portion of the file.
 
 Arguments:  Pathname, scalar buffer, numeric offset, file handle.  You can use length($buffer) to
 find the buffersize.
-Returns an errno.
+Returns length($buffer) if successful (number of bytes written).
 
 Called in an attempt to write (or overwrite) a portion of the file.  Be prepared because $buffer could contain random binary data with NULs and all sorts of other wonderful stuff.