summaryrefslogtreecommitdiffstats
path: root/sys/sys/ucontext.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sys/ucontext.h')
-rw-r--r--sys/sys/ucontext.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/sys/ucontext.h b/sys/sys/ucontext.h
index baa179e..87a2fb1 100644
--- a/sys/sys/ucontext.h
+++ b/sys/sys/ucontext.h
@@ -72,11 +72,17 @@ struct ucontext4 {
__BEGIN_DECLS
int getcontext(ucontext_t *);
+ucontext_t *getcontextx(void);
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 *);
+#if __BSD_VISIBLE
+size_t __getcontextx_size(void);
+int __fillcontextx(char *ctx);
+#endif
+
__END_DECLS
#else /* _KERNEL */
OpenPOWER on IntegriCloud