1 #include "stdio_impl.h"
3 static off_t retneg1(FILE *f, off_t off, int whence)
8 off_t __stdio_seek(FILE *f, off_t off, int whence)
12 if (syscall5(__NR__llseek, f->fd, off>>32, off, (long)&ret, whence)<0)
15 ret = syscall3(__NR_lseek, f->fd, off, whence);
17 /* Detect unseekable files and optimize future failures out */
18 if (ret < 0 && off == 0 && whence == SEEK_CUR)