Karg  v0.2.0
The kernel of CargOS
fd.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <dev.h>
4 
5 #define FD_FLAG_USED 0x1
6 #define FD_FLAG_READABLE 0x2
7 #define FD_FLAG_WRITABLE 0x4
8 
9 typedef struct {
12 } fd_t;
Definition: dev.h:6
Definition: fd.h:9
dev_t dev
Definition: fd.h:11
u32 flags
Definition: fd.h:10
__UINT32_TYPE__ u32
Definition: types.h:5