Retro68/gcc/newlib/libc/syscalls/sysfork.c
Wolfgang Thaller ec13cc9ce7 fix newlib
2018-12-29 09:59:36 +01:00

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