From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109fba,df854b5838c3e14 X-Google-Attributes: gid109fba,public X-Google-Thread: 103376,df854b5838c3e14 X-Google-Attributes: gid103376,public X-Google-Thread: 1014db,df854b5838c3e14 X-Google-Attributes: gid1014db,public X-Google-Thread: 10db24,fec75f150a0d78f5 X-Google-Attributes: gid10db24,public From: seebs@solutions.solon.com (Peter Seebach) Subject: Re: ANSI C and POSIX (was Re: C/C++ knocks the crap out of Ada) Date: 1996/04/07 Message-ID: <4k9qhe$65r@solutions.solon.com>#1/1 X-Deja-AN: 146296447 references: organization: Usenet Fact Police (Undercover) reply-to: seebs@solon.com newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++,comp.edu Date: 1996-04-07T00:00:00+00:00 List-Id: In article , Robert Dewar wrote: >Dan, you miss the point, of course read in Linux is compliant with the >ANSI standard, precisely because this standard does NOT specify any >required behavior for read, and permits the addition of such functions. No, it doesn't. Rather, it permits their addition only if no strictly conforming program can tell. Now, as it happens, Linux does do the right thing - if I define my own read(), I get *my* read any time I call read, so the implementation is conforming. If I got a conflict when I linked, the system would be violating ANSI. >How could you possibly claim that read could be non-compliant with ANSI >(something is either compliant or non-compliant, we do not have three >valued logic here). Yes we do. There are conforming, strictly conforming, and unconforming programs. And there are many things an implementation could do which are partially compliant, I'm sure. (Although "partially compliant" is not defined by ANSI.) -s -- Peter Seebach - seebs@solon.com - Copyright 1996 Peter Seebach. C/Unix wizard -- C/Unix questions? Send mail for help. No, really! FUCK the communications decency act. Goddamned government. [literally.] The *other* C FAQ - http://www.solon.com/~seebs/c/c-iaq.html