structure function returns -- how?

Robert Firth firth at sei.cmu.edu
Tue Jan 6 01:16:35 AEST 1987


In article <5075 at ism780c.UUCP> tim at ism780c.UUCP (Tim Smith) writes:
>
>If one makes the caller, rather than the callee, do the unlink
>after a call, then one can return stuff on the stack with no problem
>with recursion or re-entrance.
>-- 
>Tim Smith       USENET: sdcrdcf!ism780c!tim   Compuserve: 72257,3706
>                Delphi or GEnie: mnementh

Absolutely right, Tim!  Which is one (of many) reasons why the
compiler writer should be free to choose how to call, link, return,
unlink &c.  Which is one (of many) reasons why hardware instructions
such as VAX CALLS, that preempt your choice, are undesirable.



More information about the Comp.lang.c mailing list