#pragma once #include #include #define HANDLE_MAX 16 typedef int handle_t; // TODO duplicated in syscalls.h enum handle_type { HANDLE_EMPTY, }; struct handle { enum handle_type type; };