summaryrefslogtreecommitdiff
path: root/src/stdio/getwc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/getwc.c')
-rw-r--r--src/stdio/getwc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/stdio/getwc.c b/src/stdio/getwc.c
new file mode 100644
index 00000000..a2818bc4
--- /dev/null
+++ b/src/stdio/getwc.c
@@ -0,0 +1,6 @@
+#include "stdio_impl.h"
+
+wint_t getwc(FILE *f)
+{
+ return fgetwc(f);
+}