/* Copyright (C) 1996 DJ Delorie, see COPYING.DJ for details */
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
-#include <crtdll/stdio.h>
-#include <crtdll/errno.h>
-#include <crtdll/internal/file.h>
-#include <crtdll/fcntl.h>
-#include <crtdll/io.h>
+#include <msvcrt/stdio.h>
+#include <msvcrt/errno.h>
+#include <msvcrt/fcntl.h>
+#include <msvcrt/io.h>
+#include <msvcrt/internal/file.h>
int fseek(FILE *f, long offset, int ptrname)
return 0;
}
}
-
p = lseek(fileno(f), offset, ptrname);
f->_cnt = 0;
-1 : 0;
}
return p==-1 ? -1 : 0;
-
}