Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #12743

Re: fscan: about it

From John Gordon <gordon@panix.com>
Newsgroups comp.lang.c
Subject Re: fscan: about it
Date 2011-11-04 23:57 +0000
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <j91u4i$1g$1@reader1.panix.com> (permalink)
References <0636e7d1-01db-4dde-9c89-c84840b9b7d6@hc5g2000vbb.googlegroups.com>

Show all headers | View raw


In <0636e7d1-01db-4dde-9c89-c84840b9b7d6@hc5g2000vbb.googlegroups.com> Pasquale Frega <zemir_fp@libero.it> writes:

> Ok, a simple question: can fscan get a simple return with nothing or a
> simple escape or anything?

If you want to abort input when the user presses Enter or Escape,
you don't want to use fscanf.

So, the answer is no.

-- 
John Gordon                   A is for Amy, who fell down the stairs
gordon@panix.com              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

Back to comp.lang.c | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

fscan: about it Pasquale Frega <zemir_fp@libero.it> - 2011-11-04 15:41 -0700
  Re: fscan: about it Ian Collins <ian-news@hotmail.com> - 2011-11-05 11:54 +1300
    Re: fscan: about it Keith Thompson <kst-u@mib.org> - 2011-11-04 23:04 -0700
      Re: fscan: about it Ian Collins <ian-news@hotmail.com> - 2011-11-05 20:12 +1300
        Re: fscan: about it Pasquale Frega <zemir_fp@libero.it> - 2011-11-05 04:47 -0700
          Re: fscan: about it James Kuyper <jameskuyper@verizon.net> - 2011-11-05 08:58 -0400
          Re: fscan: about it Keith Thompson <kst-u@mib.org> - 2011-11-05 13:28 -0700
  Re: fscan: about it Nick Keighley <nick_keighley_nospam@hotmail.com> - 2011-11-04 16:00 -0700
  Re: fscan: about it John Gordon <gordon@panix.com> - 2011-11-04 23:57 +0000

csiph-web