The _llseek() system call repositions the offset of the open file description associated with the file
descriptor fd to (offset_high<<32) | offset_low bytes relative to the beginning of the file, the current
file offset, or the end of the file, depending on whether whence is SEEK_SET, SEEK_CUR, or SEEK_END, respec-
tively. It returns the resulting file position in the argument result.
This system call exists on various 32-bit platforms to support seeking to large file offsets.
This is not intended to be used on 64bit systems and is not well-defined there.
x86_64 is covered by xmview-os/xmview/defs_x86_64_um.h:#define __NR__llseek __NR_doesnotexist
Attaching patch.
The r_llseek is defined even when __NR__llseek == __NR_doesnotexist so it should compile.
Not tested.