Functions sscanf and swscanf now expect strings to be terminated with

null (0) instead of EOF (-1).
oldstable
Jukka Heinonen 2002-09-29 18:00:23 +00:00 committed by Alexandre Julliard
parent f38979349b
commit 9747c15a15
1 changed files with 2 additions and 0 deletions

View File

@ -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