]> icculus.org git repositories - btb/d2x.git/blob - include/d_io.h
Make sure gr.c and joy2.asm get included in dist
[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 #ifdef __ENV_WINDOWS__
7 #include <io.h>
8 #else
9 #include <unistd.h>
10 #endif
11
12 extern long ffilelength(FILE *fh);
13 extern long filelength(int fd);
14 unsigned long d_getdiskfree();
15 // remove extension from filename, doesn't work with paths.
16 void removeext(const char *filename, char *out);
17
18 unsigned long GetDiskFree();
19
20 #endif