🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #4314

Re: setjmp.h

#4314
From: Nick Maclaren
Date: Wed, 01 Nov 1995 16:57
15 lines
967 bytes
In article <815241910snz@soliton.demon.co.uk>, Ian Cargill <ian@soliton.demon.co.uk> writes:
|> 
|> The standard allows setjmp to be either a macro or an 'identifier 
|> with external linkage'.  Why the latter?   

Why not?  It allows setjmp() to be implemented entirely by the run-time
system, without any compiler involvement.  This is generally a better
way of implementing it than by using a compiler-recognised macro.


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: <4788u3$rig@lyra.csx.cam.ac.uk>
Path: arc1-ca.pugleaf.net!lyra.csx.cam.ac.uk!nmm1
References: <815241910snz@soliton.demon.co.uk>

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: setjmp.h
Date: 1 Nov 1995 16:57:39 GMT
Organization: University of Cambridge, England
Message-ID: <4788u3$rig@lyra.csx.cam.ac.uk>
References: <815241910snz@soliton.demon.co.uk>
NNTP-Posting-Host: ursa.cus.cam.ac.uk