about summary refs log tree commit diff
path: root/conform/data/ucontext.h-data
diff options
context:
space:
mode:
Diffstat (limited to 'conform/data/ucontext.h-data')
-rw-r--r--conform/data/ucontext.h-data20
1 files changed, 20 insertions, 0 deletions
diff --git a/conform/data/ucontext.h-data b/conform/data/ucontext.h-data
new file mode 100644
index 0000000000..3ad661e7b9
--- /dev/null
+++ b/conform/data/ucontext.h-data
@@ -0,0 +1,20 @@
+type mcontext_t
+
+type ucontext_t
+
+element {struct ucontext_t} {ucontext_t*} uc_link
+element {struct ucontext_t} sigset_t uc_sigmask
+element {struct ucontext_t} stack_t uc_stack
+element {struct ucontext_t} mcontext_t uc_mcontext
+
+type sigset_t
+type stack_t
+
+function int getcontext (ucontext_t*)
+function int setcontext (const ucontext_t*)
+function void makecontext (ucontext_t*, void(*)(void), int, ...)
+function int swapcontext (ucontext_t*, const ucontext_t*)
+
+allow uc_*
+allow SS_*
+allow *_t