- Preparing search index...
- The search index is not available
@types/quickjs
- seek(fd: FileDescriptor, offset: number, whence: number): Result<number>
-
Parameters
-
-
offset: number
-
whence: number
Returns Result<number>
- seek(fd: FileDescriptor, offset: bigint, whence: number): Result<bigint>
-
Parameters
-
-
offset: bigint
-
whence: number
Returns Result<bigint>
Seek in the file. Use
std.SEEK_*
for whence.offset
is either a number or a bigint. Ifoffset
is a bigint, a bigint is returned too.