reference/exec/functions/proc-close.xml
970d3aa7fdf5c714b584cbe67ebf9e32a1e8b0d3
...
...
@@ -4,7 +4,7 @@
4
4
<refentry xml:id='function.proc-close' xmlns="http://docbook.org/ns/docbook">
5
5
<refnamediv>
6
6
<refname>proc_close</refname>
7
-
<refpurpose>Close a process opened by <function>proc_open</function> and return the exit code of that process</refpurpose>
7
+
<refpurpose>Close pipes to a process opened by <function>proc_open</function>, wait for it to terminate, and return its exit code</refpurpose>
8
8
</refnamediv>
9
9

10
10
<refsect1 role="description">
...
...
@@ -44,10 +44,10 @@
44
44

45
45
<refsect1 role="returnvalues">
46
46
&reftitle.returnvalues;
47
-
<para>
47
+
<simpara>
48
48
Returns the termination status of the process that was run. In case of
49
-
an error then <literal>-1</literal> is returned.
50
-
</para>
49
+
an error, <literal>-1</literal> is returned.
50
+
</simpara>
51
51
&note.sigchild;
52
52
</refsect1>
53
53
<refsect1 role="changelog">
54
54