projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use macros instead of inline functions in shgetc.h
[musl]
/
src
/
thread
/
clone.c
diff --git
a/src/thread/clone.c
b/src/thread/clone.c
index
e69de29
..
339e28a
100644
(file)
--- 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);