Re: the mystery of <ctrl-d>
- From: richard@xxxxxxxxxxxxxxx (Richard Tobin)
- Date: 30 Apr 2007 12:45:43 GMT
In article <8IadnWyYCcMrRajbnZ2dnUVZ8tvinZ2d@xxxxxx>,
Richard Heathfield <rjh@xxxxxxxxxxxxxxx> wrote:
In fact, I can't think of any use whatsoever for exit().
terminating the program somewhere other then main().
And I can't think of any use whatsoever for that, either.
If C had a reasonable exception mechanism I might agree, but writing
all your functions to return and check errors is too tedious in cases
where there's nothing sensible to do about the error other than exit.
-- Richard
--
"Consideration shall be given to the need for as many as 32 characters
in some alphabets" - X3.4, 1963.
.
- References:
- the mystery of <ctrl-d>
- From: chandanlinster
- Re: the mystery of <ctrl-d>
- From: Richard Heathfield
- Re: the mystery of <ctrl-d>
- From: Nick Keighley
- Re: the mystery of <ctrl-d>
- From: Richard Heathfield
- the mystery of <ctrl-d>
- Prev by Date: Re: long integer multiplication
- Next by Date: Re: programming-challenges
- Previous by thread: Re: the mystery of <ctrl-d>
- Next by thread: Re: the mystery of <ctrl-d>
- Index(es):
Relevant Pages
|