1 2 3 4 5 6 7 8 9 10
#pragma once #include <stdbool.h> // TODO make opaque struct FILE { int fd; int pos; bool eof; bool error; }; typedef struct FILE FILE;