summaryrefslogtreecommitdiff
path: root/libgcompat/ucontext.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgcompat/ucontext.c')
-rw-r--r--libgcompat/ucontext.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libgcompat/ucontext.c b/libgcompat/ucontext.c
new file mode 100644
index 0000000..2d6006e
--- /dev/null
+++ b/libgcompat/ucontext.c
@@ -0,0 +1,7 @@
+#include <errno.h> /* errno, ENOSYS */
+
+int getcontext(void *ucp)
+{
+ errno = ENOSYS;
+ return -1;
+}