Welcome to mirror list, hosted at ThFree Co, Russian Federation.

sysfork.c « syscalls « libc « newlib - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 282f73fe3720df099279deea116480e2df6ed52e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* 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