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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [binutils-2.20.1/] [libiberty/] [vfork.c] - Diff between revs 816 and 818

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

Rev 816 Rev 818
/* 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.