Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!ames!haven!mimsy!chris From: chris@mimsy.umd.edu (Chris Torek) Newsgroups: comp.std.c Subject: ANSI draft interpretation question: scanf("%*n", ... Message-ID: <21623@mimsy.umd.edu> Date: 4 Jan 90 07:34:03 GMT Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 13 According to the December 1988 draft, `*' as a scanf flag (between a `%' and a conversion character) is an assignment suppression flag. However, `%n' does not count as an assignment, nor is it a regular conversion character (since no input is converted). This leaves me with the question: Does `%*n' write to anything, or is the `assignment' suppressed? Note that `%*n' is completely useless if it is suppressed, since it affects neither the stream nor any object. -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163) Domain: chris@cs.umd.edu Path: uunet!mimsy!chris