xref: /haiku/src/libs/stdc++/legacy/vfork.c (revision 5fae0bc1a2f74ccf56b7e3958149317d6af2cccc)
1 /* Emulate vfork using just plain fork, for systems without a real vfork.
2    This function is in the public domain. */
3 
4 #include <unistd.h>
5 
6 pid_t
7 vfork (void)
8 {
9   return (fork ());
10 }
11