summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/stdio.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/stdio.h b/include/stdio.h
index 7871000071..1bf49a92b5 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -185,6 +185,8 @@ extern __typeof (fputs_unlocked) __fputs_unlocked;
libc_hidden_proto (__fputs_unlocked)
libc_hidden_proto (feof_unlocked)
extern __typeof (feof_unlocked) __feof_unlocked attribute_hidden;
+libc_hidden_proto (ferror_unlocked)
+extern __typeof (ferror_unlocked) __ferror_unlocked attribute_hidden;
libc_hidden_proto (fmemopen)
/* The prototype needs repeating instead of using __typeof to use
__THROW in C++ tests. */
@@ -211,6 +213,12 @@ __NTH (__feof_unlocked (FILE *__stream))
{
return __feof_unlocked_body (__stream);
}
+
+__extern_inline int
+__NTH (__ferror_unlocked (FILE *__stream))
+{
+ return __ferror_unlocked_body (__stream);
+}
# endif
# endif /* not _ISOMAC */