Curious Behaviour of "sscanf"
Joe Keane
jgk at speech2.cs.cmu.edu
Mon Jun 20 11:10:13 AEST 1988
In article <236 at c10sd3.StPaul.NCR.COM> anderson at c10sd3.StPaul.NCR.COM (Joel Anderson) writes:
>Sscanf matches the number of arguments but does not continue parsing
>the control string (i.e. true even though the closing paren is missing)?
>
>Perhaps this is correct - is it?
`man sscanf' (RTFM) say:
|BUGS
| The success of literal matches and suppressed assignments is
| not directly determinable.
So it's certainly documented. You could argue that this isn't
`correct', but i'm not sure. What would you have it return?
>Joel.
--Joe
More information about the Comp.lang.c
mailing list