dxx-rebirth/include/d_io.h

25 lines
438 B
C
Raw Normal View History

// some misc. file/disk routines
// Arne de Bruijn, 1998
#ifndef _D_IO_H
#define _D_IO_H
2003-11-26 12:26:36 +00:00
#ifndef _WIN32_WCE
#ifdef _WIN32
#include <io.h>
#else
#include <unistd.h>
#endif
2003-11-26 12:26:36 +00:00
#endif
extern long ffilelength(FILE *fh);
2003-11-26 12:26:36 +00:00
#if 0
extern long filelength(int fd);
2003-11-26 12:26:36 +00:00
#endif
unsigned long d_getdiskfree();
// remove extension from filename, doesn't work with paths.
void removeext(const char *filename, char *out);
unsigned long GetDiskFree();
#endif