unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (OSF1-V5.1-alpha)
Page:
Section:
Apropos / Subsearch:
optional field



ucontext(5)							  ucontext(5)



NAME

  ucontext - user context

SYNOPSIS

  #include <&lt;ucontext.h>&gt;





DESCRIPTION

  The thread of	control	within an executing process is specified by the	ucon-
  text structure.  This	structure contains at least the	following members:

       ucontext_t  uc_link
	      sigset_t	  uc_sigmask
	      stack_t	  uc_stack
	      mcontext_t  uc_mcontext

  The values for each member is	as follows:

  uc_link
      Points to	the context that is to continue	when this context returns. If
      uc_link is equal to zero (0), this is the	main context, and the process
      exits when this context returns.

  uc_sigmask
      Specifies	the set	of signals that	are blocked when this context is
      active.  See sigprocmask(2) for more information.

  uc_stack
      Specifies	the stack used by this context.	 See sigaltstack(2) for	more
      information.

  uc_mcontext
      Contains the saved machine registers and any implementation-specific
      context data.

RESTRICTIONS

  Portable applications	should not access or modify the	uc_mcontext value in
  the ucontext structure.









SEE ALSO

  Functions: getcontext(2), sigaction(2), sigprocmask(2), sigaltstack(2).