Skip to content

Fix fio.pread description #3203

Open
Open
@Lord-KA

Description

@Lord-KA

fh:pread() doc says that it has only two formats:

  1. fh:pread(size, offset)
  2. 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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    factual errorFactual error in functionality descriptionreference[location] Tarantool manual, Reference part

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions