ANSI draft interpretation question: scanf("%*n", ...

Doug Gwyn gwyn at smoke.BRL.MIL
Fri Jan 5 12:52:43 AEST 1990


In article <21623 at mimsy.umd.edu> chris at mimsy.umd.edu (Chris Torek) writes:
>  Does `%*n' write to anything, or is the `assignment' suppressed?

The paragraph around line 40 on page 136 of the December draft makes it
clear that the result of the conversion for the n specifier is subject
to assignment suppression by *.  (Yes, there IS a conversion, just no
input operation.)



More information about the Comp.std.c mailing list