delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/08/10/05:01:06

Date: Sun, 10 Aug 2003 10:58:01 +0200 (CEST)
Message-Id: <200308100858.h7A8w1uM002007@speedy.ludd.luth.se>
From: Martin Str|mberg <ams AT ludd DOT luth DOT se>
To: djgpp-workers AT delorie DOT com
Subject: (fwd) Re: sscanf's return value
X-MailScanner: Found to be clean
Reply-To: djgpp-workers AT delorie DOT com

-- forwarded message --
Path: news.luth.se!luth.se!nycmny1-snh1.gtei.net!crtntx1-snh1.gtei.net!news.gtei.net!newsfeed1.easynews.com!easynews.com!easynews!border3.nntp.aus1.giganews.com!intern1.nntp.aus1.giganews.com!nntp.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail
NNTP-Posting-Date: Sat, 09 Aug 2003 19:31:58 -0500
Date: Sat, 09 Aug 2003 20:32:03 -0400
From: "Douglas A. Gwyn" <DAGwyn AT null DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.std.c
Subject: Re: sscanf's return value
References: <bgatrp$r0u$5 AT sunnews DOT cern DOT ch> <3f29164b DOT 214278 AT news DOT siemens DOT at>     <Pine DOT LNX DOT 4 DOT 55L-032 DOT 0307311425590 DOT 8512 AT unix48 DOT andrew DOT cmu DOT edu> <bgbsd2$7ch$1 AT news DOT tuwien DOT ac DOT at> <Pine DOT LNX DOT 4 DOT 55L-032 DOT 0307312225220 DOT 25522 AT unix46 DOT andrew DOT cmu DOT edu> <bgli0a$qi8$2 AT sunnews DOT cern DOT ch> <3f33e413$0$165$cc7c7865 AT news DOT luth DOT se> <3F341372 DOT 4112ED56 AT null DOT net> <3f342e20$0$165$cc7c7865 AT news DOT luth DOT se> <Il6dnVHc09h2E6miXTWJjg AT comcast DOT com> <3f34b197$0$167$cc7c7865 AT news DOT luth DOT se>
In-Reply-To: <3f34b197$0$167$cc7c7865 AT news DOT luth DOT se>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: <b_adnbwIdvrjD6iiXTWJjg AT comcast DOT com>
Lines: 14
NNTP-Posting-Host: 68.55.36.203
X-Trace: sv3-5pKIh9lfsbiDA7OLzCOIKIeHk8e3mh3DZqtqrTegev4SYiX1f9cG3RiIn2ux6BDo0CJ2eh0u50n9xSy!RwQFgCYRL4agpFPmAVnnyEbuexEA3BSh3fL/o/wj/MVAu+vaVjrW3UCgJFUM
X-Complaints-To: abuse AT comcast DOT net
X-DMCA-Complaints-To: dmca AT comcast DOT net
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.1
Xref: news.luth.se comp.std.c:13886

Martin Str|mberg wrote:
> Douglas A. Gwyn <DAGwyn AT null DOT net> wrote:
> : Martin Str|mberg wrote:
> :> 2. Why is unavailability of input characters stronger than matching
> :> failure? To me "" can't match anything, so we do have a potential
> :> matching failure.
> : Would you also say that an empty file can't match anything?
> Yes. But in that case we really have an input situation so the input
> failure makes sense then. sscanf() don't input anything. Everything is
> present in memory already.

There is still an input process, namely provision of data
from the specified string.

-- end of forwarded message --

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019