🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #6151

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

#6151
From: Doug Gwyn
Date: Fri, 05 Jan 1990 01:52
7 lines
830 bytes
In article <21623@mimsy.umd.edu> chris@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.)
Technical Details
Message-ID: <11879@smoke.BRL.MIL>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!brutus.cs.uiuc.edu!psuvax1!rutgers!cmcl2!adm!smoke!gwyn
References: <21623@mimsy.umd.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!brutus.cs.uiuc.edu!psuvax1!rutgers!cmcl2!adm!smoke!gwyn
From: gwyn@smoke.BRL.MIL (Doug Gwyn)
Newsgroups: comp.std.c
Subject: Re: ANSI draft interpretation question: scanf("%*n", ...
Message-ID: <11879@smoke.BRL.MIL>
Date: 5 Jan 90 01:52:43 GMT
References: <21623@mimsy.umd.edu>
Reply-To: gwyn@brl.arpa (Doug Gwyn)
Organization: Ballistic Research Lab (BRL), APG, MD.
Lines: 7