diff options
Diffstat (limited to 'lib/libc/stdio/feof.c')
| -rw-r--r-- | lib/libc/stdio/feof.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/libc/stdio/feof.c b/lib/libc/stdio/feof.c new file mode 100644 index 00000000..0b3eb1ec --- /dev/null +++ b/lib/libc/stdio/feof.c @@ -0,0 +1,10 @@ +#include <stdio.h> +#include <io.h> + +int feof(FILE *stream) +{ + if (!stream) + return 0; + + return stream->eof; +} |
