Re: Conformance to standards,using exit() or return from main() correctly

From: George Greer (
Date: 01/07/01

On Sun, 7 Jan 2001, Peter Ajamian wrote:

>I have no arguments that using exit(1) will work in almost every
>concievable case, however the standard gives us an easy method to use
>that is guaranteed to work in every case, why not use it?

It's gratuitous and our current method is defined by the standard as being
acceptable already.

I'll be looking at the code sometime but not just putting EXIT_FAILURE in

George Greer            | If it's about the CircleMUD mailing list,   | mail instead.

   | FAQ: |
   | Archives: |

This archive was generated by hypermail 2b30 : 12/03/01 PST