os file IO fixes linux
This commit is contained in:
4
os.h
4
os.h
@@ -11,8 +11,8 @@ void os_free(void *ptr, uint64 freeSize);
|
||||
|
||||
// ### File IO ###
|
||||
string os_readEntireFile(Arena *arena, string filename);
|
||||
bool os_writeEntireFile(Arena *arena, string filename, const byte *contents, uint64 contentsLength);
|
||||
bool os_fileAppend(Arena *arena, string filename, const byte *contents, uint64 contentsLength);
|
||||
bool os_writeEntireFile(string filename, const byte *contents, uint64 contentsLength);
|
||||
bool os_fileAppend(string filename, const byte *contents, uint64 contentsLength);
|
||||
|
||||
// ### Standard IO ###
|
||||
void os_print(StdStream target, const char *fmt, va_list argList);
|
||||
|
||||
Reference in New Issue
Block a user