summaryrefslogtreecommitdiff
path: root/libiberty/waitpid.c
diff options
context:
space:
mode:
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