🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #4322

Re: setjmp.h

#4322
From: Roger Wells
Date: Fri, 03 Nov 1995 00:53
18 lines
1058 bytes
In article <815323606snz@soliton.demon.co.uk>, Ian Cargill <ian@soliton.demon.co.uk> writes:
>
>If it is OK to make setjmp a function, why define it as being a macro, 
>in 7.6.1.1?
>
>If 7.6.1.1 refered to 'The setjmp function' instead of 'The setjmp macro', 
>7.1.7 would still permit a macro version.
>
>-- 
>Ian

The point is that an implimentation is not required to provide a setjmp
function, only a setjmp macro, and many implimentations could not do setjmp
as a function.  This is in contrast to most library calls which must have a
true function even if there is a macro version of the call.

--
Roger Wells  (speaking only for myself)
Technical Details
Message-ID: <47bp6q$1dd@news1.halcyon.com>
Path: arc1-ca.pugleaf.net!usin.com!rwells
References: <815241910snz@soliton.demon.co.uk> <478bqi$nb3@rdsunx.crd.ge.com> <815323606snz@soliton.demon.co.uk>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!usin.com!rwells
From: rwells@usin.com (Roger Wells)
Newsgroups: comp.std.c
Subject: Re: setjmp.h
Date: 3 Nov 1995 00:53:46 GMT
Organization: U.S. Intelco Networks, Inc.
Distribution: world
Message-ID: <47bp6q$1dd@news1.halcyon.com>
References: <815241910snz@soliton.demon.co.uk> <478bqi$nb3@rdsunx.crd.ge.com> <815323606snz@soliton.demon.co.uk>
NNTP-Posting-Host: 198.202.216.7