summaryrefslogtreecommitdiff
path: root/libiberty/waitpid.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2001-09-26 18:45:50 +0000
committerDJ Delorie <dj@delorie.com>2001-09-26 18:45:50 +0000
commitbd7ce1bbb2ea47e045e6dd755cf16f05a2555309 (patch)
tree9fcc8e3e643152ed109636c5420b217c9d116002 /libiberty/waitpid.c
parent3d6b05970e5c5b951cf734883641e64090a3c370 (diff)
downloadgdb-bd7ce1bbb2ea47e045e6dd755cf16f05a2555309.tar.gz
merge from gcc
Diffstat (limited to 'libiberty/waitpid.c')
-rw-r--r--libiberty/waitpid.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/libiberty/waitpid.c b/libiberty/waitpid.c
index 2848309826a..703b8a6def2 100644
--- a/libiberty/waitpid.c
+++ b/libiberty/waitpid.c
@@ -1,3 +1,15 @@
+/*
+
+@deftypefn Supplemental int waitpid (int @var{pid}, int *@var{status}, int)
+
+This is a wrapper around the @code{wait} function. Any ``special''
+values of @var{pid} depend on your implementation of @code{wait}, as
+does the return value. The third argument is unused in @libib{}.
+
+@end deftypefn
+
+*/
+
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif