1 2 3 4 5 6 7
#define __NO_STDIO_INLINES #include "stdioint.h" int fileno(FILE *__f) { return __f->_IO_fileno; }