summaryrefslogtreecommitdiff
path: root/src/nonstd/__scanf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nonstd/__scanf.c')
-rw-r--r--src/nonstd/__scanf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nonstd/__scanf.c b/src/nonstd/__scanf.c
new file mode 100644
index 00000000..7508880d
--- /dev/null
+++ b/src/nonstd/__scanf.c
@@ -0,0 +1,4 @@
+#include <nonstd/io.h>
+
+#define __scanf(_opts, _fmt, _ap) \
+ ((int (*)(struct io_options*, const char*, va_list))__libc(SCANF))(_opts, _fmt, _ap)