Backtrace function



Dear all,

can any one suggest ways of implementing a backtrace function in ANSI/
standard C as given in the following link ?

http://pramode.net/2006/09/12/getting-a-backtrace-from-running-c-code/#more-144
.