xref: /third_party/musl/src/stdio/scanf.c
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/musl/src/stdio/
1570af302Sopenharmony_ci#include <stdio.h>
2570af302Sopenharmony_ci#include <stdarg.h>
3570af302Sopenharmony_ci
4570af302Sopenharmony_ciint scanf(const char *restrict fmt, ...)
5570af302Sopenharmony_ci{
6570af302Sopenharmony_ci	int ret;
7570af302Sopenharmony_ci	va_list ap;
8570af302Sopenharmony_ci	va_start(ap, fmt);
9570af302Sopenharmony_ci	ret = vscanf(fmt, ap);
10570af302Sopenharmony_ci	va_end(ap);
11570af302Sopenharmony_ci	return ret;
12570af302Sopenharmony_ci}
13570af302Sopenharmony_ci
14570af302Sopenharmony_ciweak_alias(scanf,__isoc99_scanf);
15

Indexes created Thu Nov 07 10:32:03 CST 2024