about summary refs log tree commit diff
path: root/sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
blob: bbab371cbe006e9aac6773c4feaf6b2bb05f6b61 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "nldbl-compat.h"

int
attribute_hidden
scanf (const char *fmt, ...)
{
  va_list arg;
  int done;

  va_start (arg, fmt);
  done = __nldbl__IO_vfscanf (stdin, fmt, arg, NULL);
  va_end (arg);

  return done;
}