X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=Fuse.pm;fp=Fuse.pm;h=3ab76a0885202cea2f939120a16e7aaed513e16c;hb=5a5106f6c7b8d4fce13099be89574510bf4f6e48;hp=f9f6e73edf1dfce654e546baa1f4216f98ff16e1;hpb=c66dce6e79b980376e51981561de6b52b6f6c364;p=perl-fuse.git diff --git a/Fuse.pm b/Fuse.pm index f9f6e73..3ab76a0 100755 --- 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.