File:  [RetroPC.NET] / xmil / adv / agb / advlibc / include / fileio.h
Revision 1.1: download - view: text, annotated - select for diffs
Fri Feb 4 15:42:08 2005 JST (20 years, 9 months ago) by yui
Branches: MAIN
CVS tags: HEAD
RetroPC CVS restarting 2005/02/04 (T.Yui)

#ifndef _ADVLIBC_FILEIO_
#define _ADVLIBC_FILEIO_

#include	"./advtypes.h"

#ifdef __cplusplus
extern "C" {
#endif

void LIBCCALL *FileMapping(const char *filename, unsigned int *size);
#define	FileUnmapping(ptr)

HANDLE LIBCCALL FileOpen(const char *filename);
unsigned int LIBCCALL FileRead(HANDLE handle, void *ptr, unsigned int size);
long LIBCCALL FileSeek(HANDLE handle, long position, unsigned int origin);
unsigned int LIBCCALL FileGetSize(HANDLE handle);
void LIBCCALL FileClose(HANDLE handle);

#ifdef __cplusplus
}
#endif

#endif

RetroPC.NET-CVS <cvs@retropc.net>