JanetDocsPlaygroundI'm feeling luckyGitHub sign in


    src/core/io.c on line 370, column 1

    (file/seek f &opt whence n)

    Jump to a relative location in the file `f`. `whence` must be one 

    * :cur - jump relative to the current file location

    * :set - jump relative to the beginning of the file

    * :end - jump relative to the end of the file

    By default, `whence` is :cur. Optionally a value `n` may be passed 
    for the relative number of bytes to seek in the file. `n` may be a 
    real number to handle large files of more than 4GB. Returns the 
    file handle.

0 examplesSign in to add an example