Root/
Source at commit 1308 created 12 years 8 months ago. By meklort, Add a few placeholders for file io | |
---|---|
1 | /*␊ |
2 | * sscanf()␊ |
3 | */␊ |
4 | ␊ |
5 | #include <stdio.h>␊ |
6 | #include <stdarg.h>␊ |
7 | ␊ |
8 | int sscanf(const char *str, const char *format, ...)␊ |
9 | {␊ |
10 | ␉va_list ap;␊ |
11 | ␉int rv;␊ |
12 | ␊ |
13 | ␉va_start(ap, format);␊ |
14 | ␉rv = vsscanf(str, format, ap);␊ |
15 | ␉va_end(ap);␊ |
16 | ␊ |
17 | ␉return rv;␊ |
18 | }␊ |
19 |