repo.or.cz
/
newlib-cygwin.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Cygwin: mmap: allow remapping part of an existing anonymous mapping
[newlib-cygwin.git]
/
newlib
/
libc
/
syscalls
/
sysfork.c
blob
282f73fe3720df099279deea116480e2df6ed52e
1
/* connector for fork */
2
3
/* Don't define this if NO_FORK. See for example libc/sys/win32/spawn.c. */
4
5
#ifndef NO_FORK
6
7
#include <reent.h>
8
#include <unistd.h>
9
10
int
11
fork
(
void
)
12
{
13
return
_fork_r
(
_REENT
);
14
}
15
16
#endif