File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
reference/pcntl/functions Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 14
14
<methodparam choice =" opt" ><type class =" union" ><type >int</type ><type >null</type ></type ><parameter >id</parameter ><initializer >&null; </initializer ></methodparam >
15
15
<methodparam choice =" opt" ><type >array</type ><parameter role =" reference" >info</parameter ><initializer >[]</initializer ></methodparam >
16
16
<methodparam choice =" opt" ><type >int</type ><parameter >flags</parameter ><initializer ><constant >WEXITED</constant ></initializer ></methodparam >
17
+ <methodparam choice =" opt" ><type >array</type ><parameter role =" reference" >resource_usage</parameter ><initializer >[]</initializer ></methodparam >
17
18
</methodsynopsis >
18
19
<para >
19
20
Obtains status information pertaining to termination, stop, and/or continue
245
246
</para >
246
247
</listitem >
247
248
</varlistentry >
249
+ <varlistentry >
250
+ <term ><parameter >resource_usage</parameter ></term >
251
+ <listitem >
252
+ <para >
253
+ The <parameter >resource_usage</parameter > parameter is set to an array
254
+ containing resource usage statistics from the child process.
255
+
256
+ This is supported either if the wait6 system call is available
257
+ (e.g. on FreeBSD), or on Linux through the raw waitid system call.
258
+ </para >
259
+ </listitem >
260
+ </varlistentry >
248
261
</variablelist >
249
262
</refsect1 >
250
263
You can’t perform that action at this time.
0 commit comments