Mail Archives: djgpp-workers/2000/09/29/13:45:47
According to Hans-Bernhard Broeker:
> +++ quote (7.9.6.2, paragraph [#9], sentence 2, in the C9x draft)
> An input item is defined as the longest sequence of input characters which
> does not exceed any specified field width and which is,
> *or*is*a*prefix*of*, a matching input sequence.
> +++ quote ends
That quote is in C99 (in 7.19.6.2, paragraph 9, sentence 2). That
sentence also have a footnote 242 which says "fscanf pushes back at
most one input chararcter onto the input stream. Therefore, some
sequences that are acceptable to strtod, strtol, etc., are
unacceptable to fscanf."
Right,
MartinS
- Raw text -