Saving process stack

Can anybody throw some light on how to save a portion of process stack in C (unix/linux) in order to restore them in future to resume execution from the point where it saved.

Thanks in advance

Have a look at setjmp(), longjmp() and JMP_BUF.