blob: 183d9f2d3749ed81a51c5f657a47e88cb163d7c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include "_stdio.h"
int vsscanf(const char * restrict s, const char * restrict format, va_list arg)
{
SIGNAL_SAFE(0);
ASSERT_NOOVERLAP(s, strlen(s), format, strlen(format));
struct io_options opt = {
.fnname = __func__,
.string = (char*)s,
};
return __scanf(&opt, format, arg);
}
/*
STDC(199901)
*/
|