~ubuntu-branches/ubuntu/wily/musl/wily

« back to all changes in this revision

Viewing changes to src/thread/clone.c

  • Committer: Package Import Robot
  • Author(s): Kevin Bortis
  • Date: 2014-03-22 09:39:56 UTC
  • mfrom: (4.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20140322093956-1oc4xt9b2n3domo7
Tags: 1.0.0-1
* Import upstream version 1.0.0
* Provide musl-ldd (Closes: #732169)
* Arch independent ld-musl-config (Closes: #739205)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#include <errno.h>
2
 
#include "libc.h"
 
2
#include "pthread_impl.h"
3
3
 
4
4
int __clone(int (*func)(void *), void *stack, int flags, void *arg, ...)
5
5
{
6
 
        errno = ENOSYS;
7
 
        return -1;
 
6
        return -ENOSYS;
8
7
}
9
 
 
10
 
weak_alias(__clone, clone);