Date: Sun, 10 Aug 2003 10:58:01 +0200 (CEST) Message-Id: <200308100858.h7A8w1uM002007@speedy.ludd.luth.se> From: Martin Str|mberg 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" 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: <3f29164b DOT 214278 AT news DOT siemens DOT at> <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> <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: 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 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 --