fileio.h
author tron
Sun, 28 Aug 2005 14:45:44 +0000
changeset 2374 e4443eab6293
parent 2186 db48cf29b983
child 2736 3d6487cbbb69
permissions -rw-r--r--
(svn r2900) Fix a bug, which incremented the counter of a loop twice and therefore calculated wrong argument indices
/* $Id$ */

#ifndef FILEIO_H
#define FILEIO_H

void FioSeekTo(uint32 pos, int mode);
void FioSeekToFile(uint32 pos);
uint32 FioGetPos(void);
byte FioReadByte(void);
uint16 FioReadWord(void);
uint32 FioReadDword(void);
void FioCloseAll(void);
void FioOpenFile(int slot, const char *filename);
void FioReadBlock(void *ptr, uint size);
void FioSkipBytes(int n);
bool FiosCheckFileExists(const char *filename);

#endif /* FILEIO_H */