diff --git a/reactos/lib/crtdll/stdio/fileno.c b/reactos/lib/crtdll/stdio/fileno.c new file mode 100644 index 00000000000..7cd0160f1b5 --- /dev/null +++ b/reactos/lib/crtdll/stdio/fileno.c @@ -0,0 +1,13 @@ +#include + +#undef fileno +int fileno(FILE *f) +{ + return f->_file; +} + + +int _fileno(FILE *f) +{ + return f->_file; +} \ No newline at end of file