Article View: comp.std.c
Article #2170Re: return vs. exit(), ANSI vs. POSIX
From: Stephen Friedl
Date: Wed, 30 Sep 1992 14:56
Date: Wed, 30 Sep 1992 14:56
14 lines
834 bytes
834 bytes
In the return -vs- exit() question, I thought I'd make a note here.
I have seen quite a few implementations whose startup code did:
exit(main(argc, argv));
thus making the question moot.
Stephen
--
Stephen J Friedl | Software Consultant | Tustin, CA | +1 714 544-6561
3b2-kind-of-guy | I speak for me ONLY | KA8CMY | uunet!mtndew!friedl
Attorneys are paranoid because they assume everybody else is dishonest too
Technical Details
Message-ID:
<710@mtndew.Tustin.CA.US>Path:
arc1-ca.pugleaf.net!sparky!uunet!mtndew!friedlReferences:
<1992Sep24.140006.25009@news2.cis.umn.edu> <1992Sep28.182846.2095@thinkage.on.ca>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mtndew!friedl From: friedl@mtndew.Tustin.CA.US (Stephen Friedl) Newsgroups: comp.std.c Subject: Re: return vs. exit(), ANSI vs. POSIX Message-ID: <710@mtndew.Tustin.CA.US> Date: 30 Sep 92 14:56:37 GMT References: <1992Sep24.140006.25009@news2.cis.umn.edu> <1992Sep28.182846.2095@thinkage.on.ca> Organization: Steve's Personal machine / Tustin, CA Lines: 14