first commit

This commit is contained in:
2026-02-21 17:11:31 +09:00
commit 18b4338361
4001 changed files with 365464 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
#ifndef FILEIO_H
#define FILEIO_H
// #include "rm_constants.h"
#include <stdio.h>
typedef FILE* RMfile;
#define RMfread(__BUFFER,__SIZE,__COUNT,__FILE) fread(__BUFFER,__SIZE,__COUNT,__FILE)
#define RMftell(__FILE) ftell(__FILE)
#define RMfseek(__FILE,__OFSET,__SEEK_TYPE) fseek(__FILE,__OFSET,__SEEK_TYPE)
#define RMgetc(__FILE) getc(__FILE)
#define RMfeof(__FILE) feof(__FILE)
int read_long(RMfile in);
int read_word(RMfile in);
int read_chars(RMfile in, char *s, int count);
#endif