source:
trunk/libs/newlib/src/newlib/libc/syscalls/sysfork.c
@
587
Last change on this file since 587 was 444, checked in by , 6 years ago | |
---|---|
File size: 217 bytes |
Rev | Line | |
---|---|---|
[444] | 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 |
Note: See TracBrowser
for help on using the repository browser.