diff --git a/reference/pcntl/functions/pcntl-wait.xml b/reference/pcntl/functions/pcntl-wait.xml
index ba4c81de9f0c..f33fba78855c 100644
--- a/reference/pcntl/functions/pcntl-wait.xml
+++ b/reference/pcntl/functions/pcntl-wait.xml
@@ -86,6 +86,20 @@
+
+ resource_usage
+
+
+ The resource_usage parameter is set to an
+ associative array containing resource usage statistics
+ from the child process.
+
+ This is supported either if the wait6 system call is available
+ (e.g. on FreeBSD), or on Linux through the raw waitid system call. For
+ information on the contents see getrusage.
+
+
+
@@ -105,6 +119,7 @@
pcntl_fork
pcntl_signal
+ pcntl_waitpid
pcntl_wifexited
pcntl_wifstopped
pcntl_wifsignaled
diff --git a/reference/pcntl/functions/pcntl-waitid.xml b/reference/pcntl/functions/pcntl-waitid.xml
index d108a9012830..48c9f94f793f 100644
--- a/reference/pcntl/functions/pcntl-waitid.xml
+++ b/reference/pcntl/functions/pcntl-waitid.xml
@@ -250,11 +250,13 @@
resource_usage
- The resource_usage parameter is set to an array
- containing resource usage statistics from the child process.
+ The resource_usage parameter is set to an
+ associative array containing resource usage statistics
+ from the child process.
This is supported either if the wait6 system call is available
- (e.g. on FreeBSD), or on Linux through the raw waitid system call.
+ (e.g. on FreeBSD), or on Linux through the raw waitid system call. For
+ information on the contents see getrusage.
diff --git a/reference/pcntl/functions/pcntl-waitpid.xml b/reference/pcntl/functions/pcntl-waitpid.xml
index d385fe06be38..fc807421243d 100644
--- a/reference/pcntl/functions/pcntl-waitpid.xml
+++ b/reference/pcntl/functions/pcntl-waitpid.xml
@@ -130,6 +130,20 @@
+
+ resource_usage
+
+
+ The resource_usage parameter is set to an
+ associative array containing resource usage statistics
+ from the child process.
+
+ This is supported either if the wait6 system call is available
+ (e.g. on FreeBSD), or on Linux through the raw waitid system call. For
+ information on the contents see getrusage.
+
+
+
@@ -143,12 +157,71 @@
+
+ &reftitle.examples;
+
+
+ pcntl_waitpid example
+
+
+
+
+
+
+
&reftitle.seealso;
pcntl_fork
pcntl_signal
+ pcntl_wait
pcntl_wifexited
pcntl_wifstopped
pcntl_wifsignaled