aboutsummaryrefslogtreecommitdiff
path: root/libiberty/vfork.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2001-09-26 18:45:50 +0000
committerDJ Delorie <dj@redhat.com>2001-09-26 18:45:50 +0000
commit39423523167c47f72822dbb9eb3ab4a0dfeafe68 (patch)
treeb437d1ed0d3cb7e6a0a67e5dd30ef19abbedb95e /libiberty/vfork.c
parent4e6667ac4f987fecbcf576513c70485a4718712e (diff)
downloadgdb-39423523167c47f72822dbb9eb3ab4a0dfeafe68.zip
gdb-39423523167c47f72822dbb9eb3ab4a0dfeafe68.tar.gz
gdb-39423523167c47f72822dbb9eb3ab4a0dfeafe68.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty/vfork.c')
-rw-r--r--libiberty/vfork.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/libiberty/vfork.c b/libiberty/vfork.c
index 5e87721..7df7a22 100644
--- a/libiberty/vfork.c
+++ b/libiberty/vfork.c
@@ -1,6 +1,16 @@
/* Emulate vfork using just plain fork, for systems without a real vfork.
This function is in the public domain. */
+/*
+
+@deftypefn Supplemental int vfork ()
+
+Emulates @code{vfork} by calling @code{fork} and returning its value.
+
+@end deftypefn
+
+*/
+
#include "ansidecl.h"
extern int fork PARAMS ((void));