fd-lseek

Name

fd-lseek -- Seek in a file.

Type: primop

Synopsis

fd-lseek( fd offset whence, offt);

Arguments

fd

An instance of <fixnum>

offset

An instance of <fixnum>

whence

An instance of <fixnum>

Return Values

offt

An instance of <integer>

Description

Set pointer in file. Returns new position relative to start. [Note: only works with fixnums for now, limiting usefulness to 500Mb files]