Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site brl-tgr.ARPA Path: utzoo!linus!philabs!cmcl2!seismo!brl-tgr!gwyn From: gwyn@brl-tgr.ARPA (Doug Gwyn) Newsgroups: net.lang.c Subject: Re: offsets in structures. Message-ID: <5319@brl-tgr.ARPA> Date: Mon, 15-Oct-84 20:37:15 EDT Article-I.D.: brl-tgr.5319 Posted: Mon Oct 15 20:37:15 1984 Date-Received: Wed, 17-Oct-84 19:34:27 EDT References: <393@orion.UUCP> <5172@brl-tgr.ARPA>, <6542@mordor.UUCP> <5272@brl-tgr.ARPA>, <196@rlgvax.UUCP> Organization: Ballistics Research Lab Lines: 5 I don't want to repeat all the earlier arguments, but consider: A null pointer can be produced legally by arithmetic operations, as well as by hard-coded (foo *)0 constants in the source. To use a special nil value would require run-time checks to be applied to much pointer arithmetic. This is contrary to the intent of C.