mirror of
https://github.com/cathugger/mkp224o.git
synced 2025-12-05 21:27:13 -06:00
split some io routines into separate file
This commit is contained in:
8
ioutil.h
Normal file
8
ioutil.h
Normal file
@@ -0,0 +1,8 @@
|
||||
typedef int FH;
|
||||
#define FH_invalid -1
|
||||
|
||||
FH createfile(const char *path,int secret);
|
||||
int closefile(FH fd);
|
||||
int writeall(FH,const u8 *data,size_t len);
|
||||
int writetofile(const char *path,const u8 *data,size_t len,int secret);
|
||||
int createdir(const char *path,int secret);
|
||||
Reference in New Issue
Block a user