4 * On 32-bit platforms, we need llseek() as well as lseek() to be
5 * able to handle large disks
9 #include <sys/syscall.h>
13 static inline _syscall5(int, _llseek, int, fd, unsigned long, hi, unsigned long, lo, loff_t *,res, int, whence);
15 loff_t llseek(int fd, loff_t offset, int whence)
20 rv = _llseek(fd, (unsigned long)(offset >> 32),
21 (unsigned long)offset, &result, whence);
23 return rv ? (loff_t)-1 : result;
28 loff_t llseek(int fd, loff_t offset, int whence)
30 return lseek(fd, offset, whence);