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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [libiberty/] [vfork.c] - Blame information for rev 864

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 274 jeremybenn
/* Emulate vfork using just plain fork, for systems without a real vfork.
2
   This function is in the public domain. */
3
 
4
/*
5
 
6
@deftypefn Supplemental int vfork (void)
7
 
8
Emulates @code{vfork} by calling @code{fork} and returning its value.
9
 
10
@end deftypefn
11
 
12
*/
13
 
14
#include "ansidecl.h"
15
 
16
extern int fork (void);
17
 
18
int
19
vfork (void)
20
{
21
  return (fork ());
22
}

powered by: WebSVN 2.1.0

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