Root/
Source at commit 2055 created 11 years 10 months ago. By cosmo1t, http://forge.voodooprojects.org/p/chameleon/issues/287/#ic2184 | |
---|---|
1 | /*␊ |
2 | * sscanf()␊ |
3 | */␊ |
4 | ␊ |
5 | #include "libsaio.h"␊ |
6 | extern int vsscanf(const char *buffer, const char *format, va_list ap);␊ |
7 | int sscanf(const char *str, const char *format, ...)␊ |
8 | {␊ |
9 | ␉va_list ap;␊ |
10 | ␉int rv;␊ |
11 | ␊ |
12 | ␉va_start(ap, format);␊ |
13 | ␉rv = vsscanf(str, format, ap);␊ |
14 | ␉va_end(ap);␊ |
15 | ␊ |
16 | ␉return rv;␊ |
17 | }␊ |
18 |