diff --git a/headers/posix/ucontext.h b/headers/posix/ucontext.h new file mode 100644 index 0000000000..6900401afc --- /dev/null +++ b/headers/posix/ucontext.h @@ -0,0 +1,22 @@ +/* + * Copyright 2008, Haiku Inc. All Rights Reserved. + * Distributed under the terms of the MIT license. + */ +#ifndef _UCONTEXT_H_ +#define _UCONTEXT_H_ + +#include + + +typedef struct vregs mcontext_t; + + +typedef struct ucontext_t { + ucontext_t *uc_link; + sigset_t uc_sigmask; + stack_t uc_stack; + mcontext_t uc_mcontext; +} ucontext_t; + + +#endif /* _UCONTEXT_H_ */