new scanf implementation and corresponding integer parser/converter
[musl] / src / internal / intparse.h
1 #include <stdint.h>
2 #include <stddef.h>
3
4 struct intparse {
5         uintmax_t val;
6         unsigned small;
7         size_t cnt;
8         char neg, base, state, err;
9 };
10
11 int __intparse(struct intparse *, const void *, size_t);