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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib-1.10.0/] [newlib/] [libc/] [syscalls/] [sysfork.c] - Diff between revs 1010 and 1765

Only display areas with differences | Details | Blame | View Log

Rev 1010 Rev 1765
/* connector for fork */
/* connector for fork */
 
 
/* Don't define this if NO_FORK.  See for example libc/sys/win32/spawn.c.  */
/* Don't define this if NO_FORK.  See for example libc/sys/win32/spawn.c.  */
 
 
#ifndef NO_FORK
#ifndef NO_FORK
 
 
#include <reent.h>
#include <reent.h>
 
 
int
int
fork ()
fork ()
{
{
#ifdef REENTRANT_SYSCALLS_PROVIDED
#ifdef REENTRANT_SYSCALLS_PROVIDED
  return _fork_r (_REENT);
  return _fork_r (_REENT);
#else
#else
  return _fork ();
  return _fork ();
#endif
#endif
}
}
 
 
#endif
#endif
 
 

powered by: WebSVN 2.1.0

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