C99 version of swscanf for variant without long double.
authordrepper <drepper>
Tue, 18 Sep 2007 19:00:01 +0000 (19:00 +0000)
committerdrepper <drepper>
Tue, 18 Sep 2007 19:00:01 +0000 (19:00 +0000)
sysdeps/ieee754/ldbl-opt/nldbl-isoc99_swscanf.c [new file with mode: 0644]

diff --git a/sysdeps/ieee754/ldbl-opt/nldbl-isoc99_swscanf.c b/sysdeps/ieee754/ldbl-opt/nldbl-isoc99_swscanf.c
new file mode 100644 (file)
index 0000000..927d024
--- /dev/null
@@ -0,0 +1,15 @@
+#include "nldbl-compat.h"
+
+int
+attribute_hidden
+__isoc99_swscanf (const wchar_t *s, const wchar_t *fmt, ...)
+{
+  va_list arg;
+  int done;
+
+  va_start (arg, fmt);
+  done = __nldbl___isoc99_vswscanf (s, fmt, arg);
+  va_end (arg);
+
+  return done;
+}