aboutsummaryrefslogtreecommitdiffstats
path: root/io/wrap/fgetwc.c
diff options
context:
space:
mode:
Diffstat (limited to 'io/wrap/fgetwc.c')
-rw-r--r--io/wrap/fgetwc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/io/wrap/fgetwc.c b/io/wrap/fgetwc.c
new file mode 100644
index 0000000..0b854e1
--- /dev/null
+++ b/io/wrap/fgetwc.c
@@ -0,0 +1,4 @@
+#define NEED_WINT
+#include "io.h"
+
+wint_t _fgetwc_wrap(FILE *stream) { return getc(stream); }