Mercurial > hg > CbC > CbC_gcc
annotate libiberty/vfork.c @ 58:3aaf117db171
error at dwarf2out.c
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 15 Feb 2010 14:58:24 +0900 |
parents | a06113de4d67 |
children |
rev | line source |
---|---|
0 | 1 /* 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 } |