summaryrefslogtreecommitdiff
path: root/src/stdio/vsscanf.c
blob: b803e2623644ea88e464d9360ab2c8484d9bbb01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <stdio.h>
#include <stdarg.h>
#include "_stdio.h"

int vsscanf(const char * restrict s, const char * restrict format, va_list arg)
{
	SIGNAL_SAFE(0);

	struct io_options opt = {
		.fnname = __func__,
		.string = (char*)s,
	};

	return __scanf(&opt, format, arg);
}

/*
STDC(199901)
*/