summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/vfork.c
blob: d0a4d9a0e8690efa7ce8900982368fffbb3d7403 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* Trivial implementation for arches that lack vfork */
#include <unistd.h>
#include <sys/types.h>

extern __pid_t __fork (void) __THROW attribute_hidden;

pid_t attribute_hidden __vfork(void)
{
    return __fork();
}
strong_alias(__vfork,vfork)