Author: stippi Date: 2010-01-25 19:06:50 +0100 (Mon, 25 Jan 2010) New Revision: 35287 Changeset: http://dev.haiku-os.org/changeset/35287/haiku Ticket: http://dev.haiku-os.org/ticket/5324 Added: haiku/trunk/headers/posix/ucontext.h Log: Patch by Andreas Faerber: Adding ucontext.h POSIX header. mcontext_h can be typedef'd to the existing vregs type. Applies #5324. Thanks a lot! Added: haiku/trunk/headers/posix/ucontext.h =================================================================== --- haiku/trunk/headers/posix/ucontext.h (rev 0) +++ haiku/trunk/headers/posix/ucontext.h 2010-01-25 18:06:50 UTC (rev 35287) @@ -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 <signal.h> + + +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_ */