Article View: net.lang.c
Article #9197Re: entry keyword?
From: Stanley Friesen
Date: Fri, 22 Aug 1986 19:05
Date: Fri, 22 Aug 1986 19:05
31 lines
1441 bytes
1441 bytes
In article <574@hope.UUCP> corwin@hope.UUCP (John Kempf) writes:
>Can anyone tell me what the entry keyword is supposed to do?
>I have seen it mentioned in several C books, but all of them
>say that it is supposed to be implimented later.
>thanks,
It was "reserved" so that multiple entry points to a single
routine could be added to the language later, a la PL/I. For example:
void func1(a)
int a;
{
int b;
b = f(a);
/* Do some stuff */
entry func2(a, b)
/* Do some more stuff */
return;
}
Or anyway something like that. The idea is to allow related
routines to shre code more efficiently. The feature will probably
never be implemented though, so it is probably just of historical
interest.
---
Sarima (Stanley Friesen)
UUCP: {ttidca|ihnp4|sdcrdcf|quad1|nrcvax|bellcore|logico}!psivax!friesen
ARPA: ??
Technical Details
Message-ID:
<1404@psivax.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!lll-crg!topaz!ll-xn!cit-vax!elroy!smeagol!usc-oberon!sdcrdcf!psivax!friesenReferences:
<574@hope.UUCP>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!lll-crg!topaz!ll-xn!cit-vax!elroy!smeagol!usc-oberon!sdcrdcf!psivax!friesen From: friesen@psivax.UUCP (Stanley Friesen) Newsgroups: net.lang.c Subject: Re: entry keyword? Message-ID: <1404@psivax.UUCP> Date: Fri, 22-Aug-86 15:05:52 EDT Article-I.D.: psivax.1404 Posted: Fri Aug 22 15:05:52 1986 Date-Received: Mon, 25-Aug-86 19:31:39 EDT References: <574@hope.UUCP> Reply-To: friesen@psivax.UUCP (Stanley Friesen) Distribution: net Organization: Pacesetter Systems Inc., Sylmar, CA Lines: 31