make checkpoint stuff actually proper

This commit is contained in:
cathugger
2021-12-08 20:14:20 +00:00
parent f575bbe011
commit 5b4074a47e
3 changed files with 225 additions and 40 deletions

View File

@@ -18,3 +18,4 @@ 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);
int syncwrite(const char *filename,int secret,const u8 *data,size_t datalen);