OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-7.2/] [libiberty/] [vfork.c] - Rev 602

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.