summaryrefslogtreecommitdiff
path: root/src/stdio/__scanf.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/__scanf.h')
-rw-r--r--src/stdio/__scanf.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/stdio/__scanf.h b/src/stdio/__scanf.h
new file mode 100644
index 00000000..e549b979
--- /dev/null
+++ b/src/stdio/__scanf.h
@@ -0,0 +1,16 @@
+#include <wchar.h>
+
+typedef struct rctx
+{
+ void (*read)(struct rctx *);
+ void *opaque;
+ int wide;
+ int (*is_space)();
+ int l;
+ int e;
+ int c;
+ int u;
+ int w;
+} rctx_t;
+
+int __scanf(rctx_t *, const wchar_t *, va_list);