URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
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 ());
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.