This is a great article from TheGeekStuff.com. Very relevant for those who analyze Linux malware.
"In this article, we will discuss about the memory layout of a process and the process terminating C functions."
Linux Processes – Memory Layout, exit, and _exit C Functions