forked from PoliEcho-holding-org/kern
Made fonts not have to be assembled every time and made open file table
This commit is contained in:
+5
-4
@@ -7,10 +7,11 @@
|
||||
#include <stdint.h>
|
||||
|
||||
// Nobody should have to interface with the internals of this structure
|
||||
typedef struct _iobuf {
|
||||
char* _ptr;
|
||||
int _file;
|
||||
int _oflag;
|
||||
typedef struct _iobuf { // 16B
|
||||
char* _ptr; // Virtual address of file base
|
||||
int _offset; // Offset into file; Seek()
|
||||
int _file; // File descriptor
|
||||
int _oflag; // Flags used to open file
|
||||
} FILE;
|
||||
|
||||
FILE* stdin;
|
||||
|
||||
Reference in New Issue
Block a user