diff options
Diffstat (limited to 'src/thread/clone.c')
-rw-r--r-- | src/thread/clone.c | 10 |
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); |