summaryrefslogtreecommitdiff
path: root/src/thread/clone.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/clone.c')
-rw-r--r--src/thread/clone.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/thread/clone.c b/src/thread/clone.c
index e69de29b..339e28a3 100644
--- a/src/thread/clone.c
+++ b/src/thread/clone.c
@@ -0,0 +1,10 @@
+#include <errno.h>
+#include "libc.h"
+
+int __clone(int (*func)(void *), void *stack, int flags, void *arg, ...)
+{
+ errno = ENOSYS;
+ return -1;
+}
+
+weak_alias(__clone, clone);