From 2b69181ca09c5e63175cf7c3ae3c590c91e8be1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20Vrzi=C4=87?= Date: Thu, 10 Oct 2024 18:01:57 +0200 Subject: [PATCH] Document the resource_usage param for pcntl_waitid --- reference/pcntl/functions/pcntl-waitid.xml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/reference/pcntl/functions/pcntl-waitid.xml b/reference/pcntl/functions/pcntl-waitid.xml index ff4ffd9a06ca..8144fd3c3b0a 100644 --- a/reference/pcntl/functions/pcntl-waitid.xml +++ b/reference/pcntl/functions/pcntl-waitid.xml @@ -14,6 +14,7 @@ intidnull arrayinfo[] intflagsWEXITED + arrayresource_usage[] Obtains status information pertaining to termination, stop, and/or continue @@ -245,6 +246,18 @@ + + resource_usage + + + The resource_usage parameter is set to an 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. + + +