Sign in
kernel
/
pub
/
scm
/
linux
/
kernel
/
git
/
bwh
/
klibc
/
201dabf78546ca712d3541670a5d898dc199854e
/
.
/
usr
/
klibc
/
vfork.c
blob: f2b1a85cd8852b837a537718e9bcb30fc135f808 [
file
] [
log
] [
blame
]
/*
* vfork.c
*
* Emulate vfork() with fork() if necessary
*/
#include
<unistd.h>
#include
<klibc/compiler.h>
#include
<klibc/sysconfig.h>
#if !_KLIBC_NO_MMU && !_KLIBC_REAL_VFORK
int
vfork
(
void
)
{
return
fork
();
}
#endif