gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git] / libiberty / vfork.c
CommitLineData
252b5132
RH
1/* Emulate vfork using just plain fork, for systems without a real vfork.
2 This function is in the public domain. */
3
39423523
DD
4/*
5
99b58139 6@deftypefn Supplemental int vfork (void)
39423523
DD
7
8Emulates @code{vfork} by calling @code{fork} and returning its value.
9
10@end deftypefn
11
12*/
13
74bcd529
DD
14#include "ansidecl.h"
15
49b1fae4 16extern int fork (void);
74bcd529 17
252b5132 18int
49b1fae4 19vfork (void)
252b5132
RH
20{
21 return (fork ());
22}
This page took 0.824753 seconds and 4 git commands to generate.