Article View: comp.std.c
Article #1624Re: setjmp as macro
From: Doug Gwyn
Date: Tue, 28 Aug 1990 01:22
Date: Tue, 28 Aug 1990 01:22
10 lines
978 bytes
978 bytes
In article <12516@paperboy.OSF.ORG> rabin@osf.org (Paul Rabin) writes: > Does ANSI C require that a macro implementation of setjmp > evaluate its arguments exactly once? If so, do you have a > suggestion for handling the jmp_buf argument? Since 4.1.6 does not require it, I would say, no, the setjmp implementation may evaluate its argument more than once. This is also compatible with the intention of the setjmp/longjmp specification, for which I collected information about existing practice on an extremely wide variety of implementations.
Technical Details
Message-ID:
<13667@smoke.BRL.MIL>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!rpi!sci.ccny.cuny.edu!phri!cmcl2!adm!smoke!gwynReferences:
<12516@paperboy.OSF.ORG>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!rpi!sci.ccny.cuny.edu!phri!cmcl2!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.std.c Subject: Re: setjmp as macro Message-ID: <13667@smoke.BRL.MIL> Date: 28 Aug 90 01:22:10 GMT References: <12516@paperboy.OSF.ORG> Organization: U.S. Army Ballistic Research Laboratory, APG, MD. Lines: 10