Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!dciem!nrcaer!cognos!jimp From: jimp@cognos.uucp (Jim Patterson) Newsgroups: news.software.b Subject: Re: News for Xenix on PC AT ? Message-ID: <655@cognos.UUCP> Date: Tue, 5-May-87 11:49:35 EDT Article-I.D.: cognos.655 Posted: Tue May 5 11:49:35 1987 Date-Received: Thu, 7-May-87 01:48:37 EDT References: <18346@ucbvax.BERKELEY.EDU> <145@sds.UUCP> <17005@sun.uucp> <146@sds.UUCP> <2440@ulysses.homer.nj.att.com> <442@prairie.UUCP> <25 May 87 15:49:35 GMT Reply-To: jimp@cognos.UUCP (Jim Patterson) Organization: Cognos Incorporated, Ottawa, Canada Lines: 14 Summary: NULL character pointer validity (Sorry, I missed the original posting) >As quoted from <442@prairie.UUCP> by dan@prairie.UUCP (Daniel M. Frank): >| The VAX compiler and linker appear to arrange that (char *)0 >| ALWAYS points to a null string. This can't be the VAX/VMS C compiler. On our system page 0 (addresses 0 to 511.) is always reserved, not for any special hardware considerations but so references to a NULL pointer will fail ungraciously. (This is considered to be a program error that should be corrected). This is true of NULL character pointers as well. -- Jim Patterson Cognos Inc.