bb486734b73fab67658646c0a2885837576df42b
1 /* Copyright (C) 1996 DJ Delorie, see COPYING.DJ for details */
2 /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
4 #include <msvcrt/stdio.h>
5 //#include <crtdll/unistd.h>
6 #include <msvcrt/fcntl.h>
8 #include <msvcrt/errno.h>
9 #include <msvcrt/internal/file.h>
25 else if (f
->_flag
&(_IOWRT
))
27 if (f
->_base
&& (f
->_flag
&_IONBF
)==0)
28 adjust
= f
->_ptr
- f
->_base
;
30 else if (f
->_flag
&_IOREAD
)
37 tres
= lseek(fileno(f
), 0L, SEEK_CUR
);
42 //f->_cnt = f->_bufsiz - tres;
43 //f->_ptr = f->_base + tres;