From: "Mike Wahler" Newsgroups: alt.comp.lang.learn.c-c++,comp.os.msdos.djgpp,comp.programming Subject: Re: Undertaking a programming journey Date: Tue, 24 Oct 2000 14:51:55 -0700 Organization: MindSpring Enterprises Lines: 31 Message-ID: <8t4vo5$1lp$1@nntp9.atl.mindspring.net> References: <8scg36$gsm$1 AT nnrp1 DOT deja DOT com> <39E9CF07 DOT 785C0C0F AT eton DOT powernet DOT co DOT uk> <8scls9$kth$1 AT nnrp1 DOT deja DOT com> <39E9FAD5 DOT DE1FDAE4 AT eton DOT powernet DOT co DOT uk> <8sdrub$h7u$1 AT nnrp1 DOT deja DOT com> <39EAA40B DOT 31B0CA89 AT eton DOT powernet DOT co DOT uk> <39f5ff14 DOT 90960240 AT news DOT esatclear DOT ie> NNTP-Posting-Host: 3f.32.61.b4 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Server-Date: 24 Oct 2000 21:42:29 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Russell Wallace wrote in message news:39f5ff14 DOT 90960240 AT news DOT esatclear DOT ie... > On Mon, 16 Oct 2000 07:45:31 +0100, Richard Heathfield > wrote: > >Schildt is probably the primary reason that so many C programmers think > >exit(1) is portable. > > Don't think I've read any of Schildt's books, but I'll admit I always > did think exit(1) was portable. Why isn't it, and what should be used > instead? The only return (exit) values defined by the standard are: a) EXIT_SUCCESS b) EXIT_FAILURE c) The integer value zero (0) The 'EXIT_' macros are defined in -Mike > > -- > "To summarize the summary of the summary: people are a problem." > Russell Wallace > mailto:rwallace AT esatclear DOT ie > http://www.esatclear.ie/~rwallace