4 * Christian Groessler, 07-Aug-2000
14 int fseek(FILE* f, long offset, int whence)
18 /* Is the file open? */
19 if ((f->f_flags & _FOPEN) == 0) {
20 _errno = EINVAL; /* File not open */
24 res = lseek(f->f_fd, offset, whence);
25 if (res == -1L) return 1;