vcscanf: add buffer cursor variable

Keeps track of current buffer position.
This commit is contained in:
Matheus Afonso Martins Moreira 2023-11-02 06:07:13 -03:00
parent 3403b6c604
commit 44cb3056bc

View file

@ -62,6 +62,7 @@ int __vcscanf(int callback(void *), //
} *freeme = NULL;
unsigned char *buf = NULL;
size_t bufsize;
size_t bufcur;
const unsigned char *p = (const unsigned char *)fmt;
int *n_ptr;
int items = 0;