OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib/] [newlib/] [libc/] [syscalls/] [sysfork.c] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 39 lampret
/* 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
 
9
int
10
fork ()
11
{
12
#ifdef REENTRANT_SYSCALLS_PROVIDED
13
  return _fork_r (_REENT);
14
#else
15
  return _fork ();
16
#endif
17
}
18
 
19
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.