Is there a way to get the position of the current main stack from within C?
in sys/unitd.h I see int __stack; This is the top of the stack. But where is the stack space? What is the lower limit of the stack? int __bss_end; ?? I want to fill it with a pattern, to see how much is used. What is the difference between data and bss segments. Which of my global variables will reside where? Matthias