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

diff --git a/sysdeps/ieee754/ldbl-opt/nldbl-isoc99_fscanf.c b/sysdeps/ieee754/ldbl-opt/nldbl-isoc99_fscanf.c
new file mode 100644 (file)
index 0000000..1d73666
--- /dev/null
@@ -0,0 +1,15 @@
+#include "nldbl-compat.h"
+
+int
+attribute_hidden
+__isoc99_fscanf (FILE *stream, const char *fmt, ...)
+{
+  va_list arg;
+  int done;
+
+  va_start (arg, fmt);
+  done = __nldbl___isoc99_vfscanf (stream, fmt, arg);
+  va_end (arg);
+
+  return done;
+}