axle OS
x86_32 UNIX-like hobby OS
fd_entry.h
1 #ifndef FD_ENTRY_H
2 #define FD_ENTRY_H
3 
4 typedef enum descriptor_type {
5  STD_TYPE = 0,
6  FILE_TYPE,
7  PIPE_TYPE,
8 } descriptor_type;
9 
10 typedef struct fd_entry {
11  descriptor_type type;
12  void* payload;
13 } fd_entry;
14 
15 #endif
Definition: fd_entry.h:10