summaryrefslogblamecommitdiff
path: root/src/process/vfork.c
blob: 16d07ea70598228668cfa68446d84e33b74123e3 (plain) (tree)
1
2
3
4
5
6
7
8
9

                    
                 
 
                   

                                                      
                                 
 

                           
#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);