diff options
Diffstat (limited to 'libc/stdio/stdio_ext.cpp')
-rw-r--r-- | libc/stdio/stdio_ext.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/libc/stdio/stdio_ext.cpp b/libc/stdio/stdio_ext.cpp index 88e59510d..f2f58c61f 100644 --- a/libc/stdio/stdio_ext.cpp +++ b/libc/stdio/stdio_ext.cpp @@ -89,24 +89,3 @@ int __fsetlocking(FILE* fp, int type) { _EXT(fp)->_caller_handles_locking = (type == FSETLOCKING_BYCALLER); return old_state; } - -void clearerr_unlocked(FILE* fp) { - return __sclearerr(fp); -} - -int feof_unlocked(FILE* fp) { - return __sfeof(fp); -} - -int ferror_unlocked(FILE* fp) { - return __sferror(fp); -} - -int fileno_unlocked(FILE* fp) { - int fd = fp->_file; - if (fd == -1) { - errno = EBADF; - return -1; - } - return fd; -} |