1ucontext.h(3HEAD)                   Headers                  ucontext.h(3HEAD)
2
3
4

NAME

6       ucontext.h, ucontext - user context
7

SYNOPSIS

9       #include <ucontext.h>
10
11

DESCRIPTION

13       The   <ucontext.h>  header  defines  the ucontext_t type as a structure
14       that includes at least the following members:
15
16         ucontext_t  uc_link
17         sigset_t    uc_sigmask
18         stack_t     uc_stack
19         mcontext_t  uc_mcontext
20
21
22
23       The uc_link member is a pointer to the context that to be resumed  when
24       this  context  returns.  If  uc_link is equal to 0, this context is the
25       main context and the process exits when this context returns.
26
27
28       The uc_sigmask member defines the set of signals that are blocked  when
29       this context is active. See sigprocmask(2).
30
31
32       The uc_stack member defines the stack used by this context. See sigalt‐
33       stack(2).
34
35
36       The uc_mcontext member contains the saved set of machine registers  and
37       any  implementation-specific context data. Portable applications should
38       not modify or access uc_mcontext.
39

ATTRIBUTES

41       See attributes(5) for descriptions of the following attributes:
42
43
44
45
46       ┌─────────────────────────────┬─────────────────────────────┐
47       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
48       ├─────────────────────────────┼─────────────────────────────┤
49       │Interface Stability          │Standard                     │
50       └─────────────────────────────┴─────────────────────────────┘
51

SEE ALSO

53       getcontext(2), sigaction(2), sigaltstack(2),  sigprocmask(2),  makecon‐
54       text(3C), attributes(5), standards(5)
55
56
57
58SunOS 5.11                        30 Aug 2002                ucontext.h(3HEAD)
Impressum