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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [libiberty/] [vfork.c] - Diff between revs 156 and 816

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

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

powered by: WebSVN 2.1.0

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