Open
Description
fh:pread() doc says that it has only two formats:
fh:pread(size, offset)
fh:pread(buf, size, offset)
While the last argument offset
has an implicit default equals 0
. Actual usage is:
fh:pread([buf,] size, offset = 0)
fh:pread() doc says that it has only two formats:
fh:pread(size, offset)
fh:pread(buf, size, offset)
While the last argument offset
has an implicit default equals 0
. Actual usage is:
fh:pread([buf,] size, offset = 0)