summaryrefslogtreecommitdiffstats
path: root/newlib/libc/syscalls/sysfork.c
blob: fd28391481114d7a0e2781ad9c410e3601a5d2f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* connector for fork */

/* Don't define this if NO_FORK.  See for example libc/sys/win32/spawn.c.  */

#ifndef NO_FORK

#include <reent.h>

int
_DEFUN_VOID (fork)
{
  return _fork_r (_REENT);
}

#endif