SWAPCONTEXT(3) Library Functions Manual SWAPCONTEXT(3)

swapcontextswap user context

#include <ucontext.h>

int swapcontext(ucontext_t *oucp, const ucontext_t *ucp);

Refer to makecontext(3) .

February 1997 posix.fail