Lines Matching refs:whence
7 int __fseeko_unlocked(FILE *f, off_t off, int whence)
9 /* Fail immediately for invalid whence argument. */
10 if (whence != SEEK_CUR && whence != SEEK_SET && whence != SEEK_END) {
16 if (whence == SEEK_CUR && f->rend) off -= f->rend - f->rpos;
28 if (f->seek(f, off, whence) < 0) return -1;
37 int __fseeko(FILE *f, off_t off, int whence)
44 result = __fseeko_unlocked(f, off, whence);
49 int fseek(FILE *f, long off, int whence)
51 return __fseeko(f, off, whence);