summaryrefslogtreecommitdiff
path: root/src/wchar
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-08-15 15:25:38 -0400
committerJakob Kaivo <jkk@ung.org>2020-08-15 15:25:38 -0400
commit489047f23baa1f725b6763ede2c42c0517f48e0b (patch)
tree4edfe6482f1b45385cc49052ccc47ad86e277a1d /src/wchar
parent022c0e3f552a1973abc35ff8bea657a9bc4ade56 (diff)
implement
Diffstat (limited to 'src/wchar')
-rw-r--r--src/wchar/fwscanf.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/wchar/fwscanf.c b/src/wchar/fwscanf.c
index 63324366..1c0f61ad 100644
--- a/src/wchar/fwscanf.c
+++ b/src/wchar/fwscanf.c
@@ -1,18 +1,19 @@
#include <wchar.h>
-#include "stdio.h"
-#include "stdarg.h"
+#include <stdio.h>
+#include <stdarg.h>
+
+#if __STDC_VERSION__ < 199901L
+#define vfwscanf __vfwscanf
+#include "vfwscanf.c"
+#endif
int fwscanf(FILE * restrict stream, const wchar_t * restrict format, ...)
{
- /*
va_list ap;
va_start(ap, format);
int ret = vfwscanf(stream, format, ap);
va_end(ap);
return ret;
- */
- (void)stream; (void)format;
- return -1;
}
/*