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