[comp.lang.c] Q: who called a C routine

jgy@hropus.UUCP (John Young) (12/05/86)

Can anyone help me with the following problem:
I'm looking for a few lines of C or assembly code
which can be used at the top of a function to get the
address of the function which called it. I can then map
this address to the calling functions name using "nm".
I NEED THIS FOR A 3B2.

P. S.
The number of arguments which were passed to the function
is known.