Article View: comp.std.c
Article #4671Re: atexit() and return from main()
From: Nick Maclaren
Date: Thu, 18 Jan 1996 22:32
Date: Thu, 18 Jan 1996 22:32
20 lines
1199 bytes
1199 bytes
In article <TANMOY.96Jan18084025@qcd.lanl.gov>, Tanmoy Bhattacharya <tanmoy@qcd.lanl.gov> wrote: > >Neither of these is permitted in any sense that I understand! >7.10.4.3: If more than one call to the exit function is executed by >a program, the behaviour is undefined. No `permission by omission' >that I can see. Egg on my face time :-) I cannot imagine how I missed that, unless it was added at a very late stage. Anyway, I agree that (with the 'return from main') clarification, the standard is now unambiguous. Nick Maclaren, University of Cambridge Computer Laboratory, New Museums Site, Pembroke Street, Cambridge CB2 3QG, England. Email: nmm1@cam.ac.uk Tel.: +44 1223 334761 Fax: +44 1223 334679
Technical Details
Message-ID:
<4dmhqp$ab2@lyra.csx.cam.ac.uk>Path:
arc1-ca.pugleaf.net!lyra.csx.cam.ac.uk!nmm1References:
<4dhfja$j50@fg70.rz.uni-karlsruhe.de> <821923074snz@genesis.demon.co.uk> <4dkvjk$6q5@lyra.csx.cam.ac.uk> <TANMOY.96Jan18084025@qcd.lanl.gov>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!lyra.csx.cam.ac.uk!nmm1 From: nmm1@cus.cam.ac.uk (Nick Maclaren) Newsgroups: comp.std.c Subject: Re: atexit() and return from main() Date: 18 Jan 1996 22:32:57 GMT Organization: University of Cambridge, England Message-ID: <4dmhqp$ab2@lyra.csx.cam.ac.uk> References: <4dhfja$j50@fg70.rz.uni-karlsruhe.de> <821923074snz@genesis.demon.co.uk> <4dkvjk$6q5@lyra.csx.cam.ac.uk> <TANMOY.96Jan18084025@qcd.lanl.gov> NNTP-Posting-Host: apus.cus.cam.ac.uk