Functions sscanf and swscanf now expect strings to be terminated with
null (0) instead of EOF (-1).
This commit is contained in:
parent
f38979349b
commit
9747c15a15
|
@ -47,6 +47,8 @@
|
|||
#define _FUNCTION_ _cscanf(const _CHAR_ *format, ...)
|
||||
#else
|
||||
#ifdef STRING
|
||||
#undef _EOF_
|
||||
#define _EOF_ 0
|
||||
#define _GETC_(file) *file++
|
||||
#define _UNGETC_(nch, file) file--
|
||||
#ifdef WIDE_SCANF
|
||||
|
|
Loading…
Reference in New Issue