From f8492b9ae31efdb591151da16984fbd61591ce47 Mon Sep 17 00:00:00 2001 From: Rex Jolliff Date: Sat, 6 Feb 1999 00:34:56 +0000 Subject: [PATCH] various changes svn path=/trunk/; revision=214 --- reactos/lib/crtdll/stdio/fileno.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 reactos/lib/crtdll/stdio/fileno.c 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