_io_seek

func _io_seek(fd: Int, offset: Int, whence: Int) 'io -> Int

Move a descriptor's file offset (POSIX lseek): the new absolute offset or a negative errno. whence is SEEKSET, SEEKCUR, or SEEK_END.

View Source
pub func _io_seek(fd: Int, offset: Int, whence: Int) 'io -> Int {
	'io(request: .seek(fd, offset, whence))
}