blob: fc4adb464f13c85fc25fc5d5f967d511e13f22eb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
#define _GNU_SOURCE
#include <unistd.h>
#include "syscall.h"
#include "libc.h"
pid_t __vfork(void)
{
/* vfork syscall cannot be made from C code */
return syscall(SYS_fork);
}
weak_alias(__vfork, vfork);
|