]> icculus.org git repositories - btb/d2x.git/blob - include/d_io.h
include/*.bat, include/test.*: remove unnecessary files
[btb/d2x.git] / include / d_io.h
1 // some misc. file/disk routines
2 // Arne de Bruijn, 1998
3 #ifndef _D_IO_H
4 #define _D_IO_H
5
6 #ifndef _WIN32_WCE
7 #ifdef _WIN32
8 #include <io.h>
9 #else
10 #include <unistd.h>
11 #endif
12 #endif
13
14 extern long ffilelength(FILE *fh);
15 #if 0
16 extern long filelength(int fd);
17 #endif
18 unsigned long d_getdiskfree();
19 // remove extension from filename, doesn't work with paths.
20 void removeext(const char *filename, char *out);
21
22 unsigned long GetDiskFree();
23
24 #endif