who called a C routine - get it from the stack frame

Mike McNamara mac at esl.UUCP
Sun Dec 7 06:01:58 AEST 1986


In article <5428 at brl-smoke.ARPA> gwyn at brl.arpa (Doug Gwyn (VLD/VMB) <gwyn>) writes:
>It is perhaps worth pointing out for people who aren't really into
>language technology that there is no such thing as a "generic"
>System V stack frame.  Such details are necessarily implementation-
>specific.  The classic reference for this is Bell Labs CSTR No. 102,
>"The C Language Calling Sequence" by S. C. Johnson and D. M. Ritchie.


   Actually, the _important_ reference is, as Chris Torek pointed out, 
   /usr/include/machine/frame.h, or equivilent. This tells you what your
   machine does.
   =
   =
   =
   =



-- 
 Michael Mc Namara                 
 ESL Incorporated                 
 ARPA: mac%esl at lll-lcc.ARPA    



More information about the Comp.lang.c mailing list