On Wed, Jan 24, 2007 at 12:47:15AM +0100, Simon Griph wrote: > > On Mon, 22 Jan 2007, Viktor Griph wrote: > > * sscanf may or may not include %n in the count returned depending on > > compiler. The man page says "Probably it is wise not to make any > > assumptions on the effect of %n conversions on the return value." so all > > comparitions with the return value of sscanf should be changed from equal > > to greater or equal. > > True. > But will that work with the sscanf format string "%dx%n%d%n" ?
You can't do that. To work reliably, you can have only a single %n at the end of the format string. %n before anoter Format variable may not be portable. Ciao Dominik ^_^ ^_^ -- Dominik Vogt, [EMAIL PROTECTED]
signature.asc
Description: Digital signature