X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fthread%2Fclone.c;fp=src%2Fthread%2Fclone.c;h=339e28a3fe6fb2b12c41921183dd08c819aa8018;hb=3f72cdac73030761120cf32aeef44e7d03e2f1fa;hp=e69de29bb2d1d6434b8b29ae775ad8c2e48c5391;hpb=455fc98389fac09d8cf7ec4cde310a5b7ca47485;p=musl 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 +#include "libc.h" + +int __clone(int (*func)(void *), void *stack, int flags, void *arg, ...) +{ + errno = ENOSYS; + return -1; +} + +weak_alias(__clone, clone);