mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-19 04:49:25 +08:00
fff27f8429
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
17 lines
217 B
C
17 lines
217 B
C
/* connector for fork */
|
|
|
|
/* Don't define this if NO_FORK. See for example libc/sys/win32/spawn.c. */
|
|
|
|
#ifndef NO_FORK
|
|
|
|
#include <reent.h>
|
|
#include <unistd.h>
|
|
|
|
int
|
|
fork (void)
|
|
{
|
|
return _fork_r (_REENT);
|
|
}
|
|
|
|
#endif
|