summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/stdio_ext.h
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2011-05-19 07:21:42 +0000
committerYaakov Selkowitz <yselkowi@redhat.com>2011-05-19 07:21:42 +0000
commit831826db9440c6d8f94cc57c85208d0c2674119e (patch)
treea65c0ef1a958d0b101fe6db796ab6838f40ddc65 /newlib/libc/include/stdio_ext.h
parent503ff5adc19e7d0eb5998dc3f6e4906e4aaebfa5 (diff)
downloadcygnal-831826db9440c6d8f94cc57c85208d0c2674119e.tar.gz
cygnal-831826db9440c6d8f94cc57c85208d0c2674119e.tar.bz2
cygnal-831826db9440c6d8f94cc57c85208d0c2674119e.zip
* libc/include/stdio_ext.h: New header.
* libc/stdio/fpurge.c [!__rtems__] (__fpurge): New function.
Diffstat (limited to 'newlib/libc/include/stdio_ext.h')
-rw-r--r--newlib/libc/include/stdio_ext.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/newlib/libc/include/stdio_ext.h b/newlib/libc/include/stdio_ext.h
new file mode 100644
index 000000000..fcfb662a0
--- /dev/null
+++ b/newlib/libc/include/stdio_ext.h
@@ -0,0 +1,22 @@
+/*
+ * stdio_ext.h
+ *
+ * Definitions for I/O internal operations, originally from Solaris.
+ */
+
+#ifndef _STDIO_EXT_H_
+#define _STDIO_EXT_H_
+
+#ifdef __rtems__
+#error "<stdio_ext.h> not supported"
+#endif
+
+#include <stdio.h>
+
+_BEGIN_STD_C
+
+void _EXFUN(__fpurge,(FILE *));
+
+_END_STD_C
+
+#endif /* _STDIO_EXT_H_ */