diff options
author | Jonathan Mini <mini@FreeBSD.org> | 2002-09-16 19:28:01 +0000 |
---|---|---|
committer | Jonathan Mini <mini@FreeBSD.org> | 2002-09-16 19:28:01 +0000 |
commit | a3ad85e51b8dbb685ea451e3129cd39a84e9dcf7 (patch) | |
tree | cc10e1243ba2d04a18c1c1d27702a8b1d595ee08 /sys/sys/ucontext.h | |
parent | c76e33b68184b098311dd5841fff2e20df049249 (diff) | |
download | src-a3ad85e51b8dbb685ea451e3129cd39a84e9dcf7.tar.gz src-a3ad85e51b8dbb685ea451e3129cd39a84e9dcf7.zip |
Notes
Diffstat (limited to 'sys/sys/ucontext.h')
-rw-r--r-- | sys/sys/ucontext.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/sys/ucontext.h b/sys/sys/ucontext.h index 424e06f6619a..194b63a73595 100644 --- a/sys/sys/ucontext.h +++ b/sys/sys/ucontext.h @@ -31,6 +31,7 @@ #ifndef _SYS_UCONTEXT_H_ #define _SYS_UCONTEXT_H_ +#include <sys/signal.h> #include <machine/ucontext.h> typedef struct __ucontext { @@ -47,7 +48,9 @@ typedef struct __ucontext { struct __ucontext *uc_link; stack_t uc_stack; - int __spare__[8]; + int uc_flags; +#define UCF_SWAPPED 0x00000001 /* Used by swapcontext(3). */ + int __spare__[4]; } ucontext_t; #ifndef _KERNEL @@ -57,6 +60,7 @@ __BEGIN_DECLS int getcontext(ucontext_t *); int setcontext(const ucontext_t *); void makecontext(ucontext_t *, void (*)(void), int, ...); +int signalcontext(ucontext_t *, int, __sighandler_t *); int swapcontext(ucontext_t *, const ucontext_t *); __END_DECLS |