File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed
reference/pcntl/functions Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
- <!-- EN-Revision: 18aa2012f6fa1e5b09733147e02911d16e06d4a1 Maintainer: leonardolara Status: ready -->
2
+ <!-- EN-Revision: 8e31067f1aa8fa219cc1de11abb26ab81e5a2be0 Maintainer: leonardolara Status: ready -->
3
3
<refentry xml : id =" function.pcntl-waitid" xmlns =" http://docbook.org/ns/docbook" >
4
4
<refnamediv >
5
5
<refname >pcntl_waitid</refname >
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
Obtém informações de status referentes a eventos de término, parada e/ou continuação
245
246
</para >
246
247
</listitem >
247
248
</varlistentry >
249
+ <varlistentry >
250
+ <term ><parameter >resource_usage</parameter ></term >
251
+ <listitem >
252
+ <para >
253
+ O parâmetro <parameter >resource_usage</parameter > é definido como um array
254
+ que contém estatística de uso de recursos do processo filho.
255
+
256
+ Isto é suportado se a chamada de sistema wait6 estiver disponível
257
+ (por exemplo no FreeBSD), ou também no Linux através da chamada de sistema waitid.
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