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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-6.8/] [libiberty/] [vfork.c] - Diff between revs 827 and 840

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 827 Rev 840
/* 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.