Path: csiph.com!weretis.net!feeder9.news.weretis.net!news.quux.org!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Tim Rentsch Newsgroups: comp.lang.c++ Subject: Re: Is EXIT_SUCCESS/EXIT_FAILURE necessary? Date: Tue, 26 Nov 2024 04:26:13 -0800 Organization: A noiseless patient Spider Lines: 7 Message-ID: <86h67uqize.fsf@linuxsc.com> References: <8463694f3a751b287c857fca181451f36eeee982.camel@gmail.com> <6OG%O.12794$vGnb.894@fx46.iad> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Tue, 26 Nov 2024 13:26:14 +0100 (CET) Injection-Info: dont-email.me; posting-host="1ebfc87b5a97bb6cfe9751ebbb383b2b"; logging-data="3626788"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Bppxfq5/N03rjazcy34mZC3twJKsPsmc=" User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux) Cancel-Lock: sha1:BhmlcipQlZ2saDuifoqgHYYxDDE= sha1:EftaoV0oRHuN+vkSheRX76fbuEE= Xref: csiph.com comp.lang.c++:121026 James Kuyper writes: > [...] The main reason for NULL is that some implementations > thought it would be better for type safety to use (void*)0. The problem with that theory is NULL predates both C++ and also any introduction of void or the void* type.