reference/posix/functions/posix-getsid.xml
265acc36ee4a1f4553a52030bf1717521c24dfb4
...
...
@@ -9,11 +9,11 @@
9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
-
<type>int</type><methodname>posix_getsid</methodname>
13
-
<methodparam><type>int</type><parameter>pid</parameter></methodparam>
12
+
<type class="union"><type>int</type><type>false</type></type><methodname>posix_getsid</methodname>
13
+
<methodparam><type>int</type><parameter>process_id</parameter></methodparam>
14
14
</methodsynopsis>
15
15
<para>
16
-
Return the session id of the process <parameter>pid</parameter>.
16
+
Return the session id of the process <parameter>process_id</parameter>.
17
17
The session id of a process is the process group id of the session leader.
18
18
</para>
19
19
</refsect1>
...
...
@@ -23,11 +23,11 @@
23
23
<para>
24
24
<variablelist>
25
25
<varlistentry>
26
-
<term><parameter>pid</parameter></term>
26
+
<term><parameter>process_id</parameter></term>
27
27
<listitem>
28
28
<para>
29
29
The process identifier. If set to 0, the current process is
30
-
assumed. If an invalid <parameter>pid</parameter> is
30
+
assumed. If an invalid <parameter>process_id</parameter> is
31
31
specified, then &false; is returned and an error is set which
32
32
can be checked with <function>posix_get_last_error</function>.
33
33
</para>
...
...
@@ -40,7 +40,7 @@
40
40
<refsect1 role="returnvalues">
41
41
&reftitle.returnvalues;
42
42
<para>
43
-
Returns the identifier, as an <type>integer</type>.
43
+
Returns the identifier, as an <type>int</type>, &return.falseforfailure;.
44
44
</para>
45
45
</refsect1>
46
46

...
...
@@ -78,7 +78,6 @@ echo posix_getsid($pid); //8805
78
78

79
79

80
80
</refentry>
81
-

82
81
<!-- Keep this comment at the end of the file
83
82
Local variables:
84
83
mode: sgml
85
84