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
{
10
u32
flags
;
11
dev_t
dev
;
12
}
fd_t
;
dev.h
dev_t
Definition:
dev.h:6
fd_t
Definition:
fd.h:9
fd_t::dev
dev_t dev
Definition:
fd.h:11
fd_t::flags
u32 flags
Definition:
fd.h:10
u32
__UINT32_TYPE__ u32
Definition:
types.h:5
include
fd.h
Generated by
1.9.1