Curious Behaviour of "sscanf"

Powell jdp at adiron.UUCP
Wed Jun 22 02:25:48 AEST 1988


According to the "BUGS" section in scanf, the success of literal
matches and suppressed assignments is not directly determinable.

I would say the behavior indicated is correct: two (2) conversions
were successfully completed.  Perhaps but not likely, errno is set
to indicate that an inconsistency was found.


				John D. Powell
				PAR Technology



More information about the Comp.lang.c mailing list