Retro68/gcc/newlib/libc/syscalls/sysfork.c

17 lines
217 B
C
Raw Normal View History

2017-04-11 21:13:36 +00:00
/* 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
2018-12-28 15:30:48 +00:00
fork (void)
2017-04-11 21:13:36 +00:00
{
return _fork_r (_REENT);
}
#endif