diff options
Diffstat (limited to 'lib/libpthread/thread/thr_vfork.c')
-rw-r--r-- | lib/libpthread/thread/thr_vfork.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/libpthread/thread/thr_vfork.c b/lib/libpthread/thread/thr_vfork.c new file mode 100644 index 0000000..428c129 --- /dev/null +++ b/lib/libpthread/thread/thr_vfork.c @@ -0,0 +1,17 @@ +/* + * $FreeBSD$ + */ +#include <unistd.h> + +#include "thr_private.h" + +LT10_COMPAT_PRIVATE(_vfork); +LT10_COMPAT_DEFAULT(vfork); + +__weak_reference(_vfork, vfork); + +int +_vfork(void) +{ + return (fork()); +} |