summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps/unix/sysv/linux/aarch64/fork.c
blob: c5d963aadea6f3fd60cc5a8243ca23331580a89a (plain)
1
2
3
4
5
6
7
8
9
10
11
#include <sched.h>
#include <signal.h>
#include <sysdep.h>
#include <tls.h>

#define ARCH_FORK() \
  INLINE_SYSCALL (clone, 5,                                                  \
                 CLONE_CHILD_SETTID | CLONE_CHILD_CLEARTID | SIGCHLD, 0,     \
                 NULL, NULL, &THREAD_SELF->tid)

#include "../fork.c"