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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libiberty/] [vfork.c] - Rev 801

Go to most recent revision | Compare with Previous | Blame | View Log

/* Emulate vfork using just plain fork, for systems without a real vfork.
   This function is in the public domain. */
 
/*
 
@deftypefn Supplemental int vfork (void)
 
Emulates @code{vfork} by calling @code{fork} and returning its value.
 
@end deftypefn
 
*/
 
#include "ansidecl.h"
 
extern int fork (void);
 
int
vfork (void)
{
  return (fork ());
}
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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