|
Last change
on this file since 3054 was 610, checked in by bird, 22 years ago |
|
This commit was generated by cvs2svn to compensate for changes in r609,
which included commits to RCS files with non-trunk default branches.
|
-
Property cvs2svn:cvs-rev
set to
1.1.1.2
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
|
|
File size:
351 bytes
|
| Line | |
|---|
| 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 PARAMS ((void));
|
|---|
| 17 |
|
|---|
| 18 | int
|
|---|
| 19 | vfork ()
|
|---|
| 20 | {
|
|---|
| 21 | return (fork ());
|
|---|
| 22 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.