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)
10 off_t ret = __syscall_lseek(f->fd, off, whence);
11 /* Detect unseekable files and optimize future failures out */
12 if (ret < 0 && off == 0 && whence == SEEK_CUR)