swapcontext (3) Linux Manual Page
makecontext, swapcontext – manipulate user context Synopsis #include <ucontext.h> void makecontext(ucontext_t *ucp, void (*func)(), int argc, …); int swapcontext(ucontext_t *oucp, const ucontext_t *ucp); Description In a System V-like environment, one has the type ucontext_t (defined in <ucontext.h> and described in getcontext(3)) and the four functions getcontext(3), setcontext(3), makecontext(), and swapcontext() that allow user-level context switching…
