about summary refs log tree commit diff
path: root/sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
blob: 34e18be0a16a8282c3a255d62c8f3e0d62f5016f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* This file defines one of the deprecated scanf variants.  */
#include <features.h>
#undef __GLIBC_USE_DEPRECATED_SCANF
#define __GLIBC_USE_DEPRECATED_SCANF 1

#include "nldbl-compat.h"

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

  va_start (arg, fmt);
  done = __nldbl_vsscanf (s, fmt, arg);
  va_end (arg);

  return done;
}
extern __typeof (sscanf) _IO_sscanf attribute_hidden;
strong_alias (sscanf, _IO_sscanf)