Retro68/gcc/newlib/libc/syscalls/sysfork.c
Wolfgang Thaller d464252791 re-add newlib
2017-04-11 23:13:36 +02:00

17 lines
224 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
_DEFUN_VOID (fork)
{
return _fork_r (_REENT);
}
#endif