syscalls needed for doom (tell/eof/draw_fb) + minor fixes, compiler shut up etc
This commit is contained in:
@@ -15,4 +15,10 @@ int tar_exists(const char* filename);
|
||||
int tar_read(char* filename, char* out, int count, int offset);
|
||||
void tar_list();
|
||||
|
||||
enum Seek {
|
||||
SEEK_SET,
|
||||
SEEK_CUR,
|
||||
SEEK_END
|
||||
};
|
||||
|
||||
#endif
|
||||
@@ -9,6 +9,7 @@
|
||||
|
||||
#include "limine.h"
|
||||
|
||||
// Not in POSIX order.
|
||||
enum ErrorCodes {
|
||||
ENOMEM, // No memory
|
||||
EIO, // Input/output error
|
||||
|
||||
Reference in New Issue
Block a user