Can anyone throw some light on how to store portion of the stack content along with context information in C (unix/linux) in order to restore execution of the process in next run from the saved point.

Thanks in advance