🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #4713

Re: atexit() and return from main()

#4713
From: Arno Eigenwillig
Date: Sun, 28 Jan 1996 16:00
14 lines
1300 bytes
In article <DLKrx7.6p6@ukpsshp1.serigate.philips.nl>, Stephen Baynes writes:

> In this example what happens if no second call to exit is been made (after
> longjumping back to main the program does not attempt to call exit again -
> instead it keeps executing indefinately)?

Does The Standard define the behaviour of infinitely long running
programs at all? I thought it merely defined the output having been
made after the program terminates, and the relative sequence of cer-
tain output events (I/O, accessing volatile objects).

-- __
__/// Arno Eigenwillig /\ <arno@yaps.rhein.de> \/ PGP key available.
\XX/   V+49-2225-5870  /\ <Arnooo @ #amigager> \/ MIME 8bit welcome.
Technical Details
Message-ID: <3PS-x*Ixf@yaps.rhein.de>
Path: arc1-ca.pugleaf.net!comma.rhein.de!yaps!arno
References: <4dhfja$j50@fg70.rz.uni-karlsruhe.de> <4diicg$i9e@lyra.csx.cam.ac.uk> <TANMOY.96Jan18084025@qcd.lanl.gov> <DLKrx7.6p6@ukpsshp1.serigate.philips.nl>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!comma.rhein.de!yaps!arno
From: arno@yaps.rhein.de (Arno Eigenwillig)
Newsgroups: comp.std.c
Subject: Re: atexit() and return from main()
Message-ID: <3PS-x*Ixf@yaps.rhein.de>
Date: Sun, 28 Jan 1996 17:00:51 +0100
References: <4dhfja$j50@fg70.rz.uni-karlsruhe.de> <4diicg$i9e@lyra.csx.cam.ac.uk>
 <TANMOY.96Jan18084025@qcd.lanl.gov> <DLKrx7.6p6@ukpsshp1.serigate.philips.nl>
Organization: Yet Another Private Site in Meckenheim, Germany
X-Copyright: This article may not be distributed on a CD-ROM
 or in printed form without prior written consent of the author.
X-Newsreader: Arn V 1.04