home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NeXTSTEP 3.2 (Developer)
/
NS_dev_3.2.iso
/
NextDeveloper
/
Headers
/
bsd
/
i386
/
signal.h
< prev
next >
Wrap
C/C++ Source or Header
|
1993-10-19
|
992b
|
42 lines
/*
* Copyright (c) 1992 NeXT Computer, Inc.
*
* HISTORY
*
* 8 April 1992 David E. Bohman at NeXT
* Created.
*/
#ifndef _i386_SIGNAL_
#define _i386_SIGNAL_ 1
/*
* Information pushed on stack when a signal is delivered.
* This is used by the kernel to restore state following
* execution of the signal handler. It is also made available
* to the handler to allow it to properly restore state if
* a non-standard exit is performed.
*/
struct sigcontext {
int sc_onstack; /* sigstack state to restore */
int sc_mask; /* signal mask to restore */
unsigned int sc_eax;
unsigned int sc_ebx;
unsigned int sc_ecx;
unsigned int sc_edx;
unsigned int sc_edi;
unsigned int sc_esi;
unsigned int sc_ebp;
unsigned int sc_esp;
unsigned int sc_ss;
unsigned int sc_eflags;
unsigned int sc_eip;
unsigned int sc_cs;
unsigned int sc_ds;
unsigned int sc_es;
unsigned int sc_fs;
unsigned int sc_gs;
};
#endif _i386_SIGNAL_