*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> ucontext (5)              
Title
Content
Arch
Section
 

ucontext(5)

Contents


NAME    [Toc]    [Back]

       ucontext - user context

SYNOPSIS    [Toc]    [Back]

       #include <ucontext.h>




DESCRIPTION    [Toc]    [Back]

       The thread of control within an executing process is specified
 by the ucontext 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: 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.   Specifies
 the set of signals that are blocked when this context
       is  active.   See  sigprocmask(2)  for  more  information.
       Specifies  the  stack  used  by this context.  See sigaltstack(2) for more information.  Contains the saved machine
       registers and any implementation-specific context data.

RESTRICTIONS    [Toc]    [Back]

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

SEE ALSO    [Toc]    [Back]

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



                                                      ucontext(5)
[ Back ]
 Similar pages
Name OS Title
getcontext FreeBSD get and set user thread context
setcontext HP-UX get and set current user context
ucontext FreeBSD user thread context
getcontext HP-UX get and set current user context
getcontext IRIX get and set current user context
setcontext FreeBSD get and set user thread context
__uc_get_ip HP-UX ucontext_t (user context) access
__uc_get_grs HP-UX ucontext_t (user context) access
__uc_get_ar_csd HP-UX ucontext_t (user context) access
__uc_get_prs HP-UX ucontext_t (user context) access
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service