Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ucontext(5) — Reliant UNIX 5.44c4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getcontext(2)

sigaction(2)

sigprocmask(2)

sigaltstack(2)

makecontext(3C)

signal(5)

ucontext(5)                                                     ucontext(5)

NAME
     ucontext - user context

SYNOPSIS
     #include <ucontext.h>

DESCRIPTION
     The <ucontext.h> header defines the mcontextt type through typedef.

     The <ucontext.h> header defines the ucontextt type as a structure
     that includes at least the following members:

     ucontextt   *uclink      Pointer to the context that will be
                                resumed when this context returns.
     sigsett     ucsigmask    The set of signals that are blocked when
                                this context is active.
     stackt      ucstack      The stack used by this context.
     mcontextt   ucmcontext   A machine-specific representation of the
                                saved context.

     The types sigsett and stackt are defined as in <signal.h>.

     The following are declared as functions and may also be defined as
     macros:

     int  getcontext(ucontextt *ucp);
     int  setcontext(const ucontextt *ucp);
     void makecontext(ucontextt *ucp, (void *func)(), int argc, ...);
     int  swapcontext(ucontextt *oucp, const ucontextt *ucp);

SEE ALSO
     getcontext(2), sigaction(2), sigprocmask(2), sigaltstack(2),
     makecontext(3C), signal(5).






















Page 1                       Reliant UNIX 5.44                Printed 11/98

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026