source: trunk/libs/newlib/src/newlib/libc/syscalls/sysfork.c @ 620

Last change on this file since 620 was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 217 bytes
Line 
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
10int
11fork (void)
12{
13  return _fork_r (_REENT);
14}
15
16#endif
Note: See TracBrowser for help on using the repository browser.