reference/posix/functions/posix-getgrgid.xml
265acc36ee4a1f4553a52030bf1717521c24dfb4
...
...
@@ -9,8 +9,8 @@
9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
-
<type>array</type><methodname>posix_getgrgid</methodname>
13
-
<methodparam><type>int</type><parameter>gid</parameter></methodparam>
12
+
<type class="union"><type>array</type><type>false</type></type><methodname>posix_getgrgid</methodname>
13
+
<methodparam><type>int</type><parameter>group_id</parameter></methodparam>
14
14
</methodsynopsis>
15
15
<para>
16
16
Gets information about a group provided its id.
...
...
@@ -22,7 +22,7 @@
22
22
<para>
23
23
<variablelist>
24
24
<varlistentry>
25
-
<term><parameter>gid</parameter></term>
25
+
<term><parameter>group_id</parameter></term>
26
26
<listitem>
27
27
<para>
28
28
The group id.
...
...
@@ -67,7 +67,7 @@
67
67
<entry>gid</entry>
68
68
<entry>
69
69
Group ID, should be the same as the
70
-
<parameter>gid</parameter> parameter used when calling the
70
+
<parameter>group_id</parameter> parameter used when calling the
71
71
function, and hence redundant.
72
72
</entry>
73
73
</row>
...
...
@@ -81,6 +81,7 @@
81
81
</tbody>
82
82
</tgroup>
83
83
</table>
84
+
The function returns &false; on failure.
84
85
</para>
85
86
</refsect1>
86
87

...
...
@@ -134,7 +135,6 @@ Array
134
135
</refsect1>
135
136

136
137
</refentry>
137
-

138
138
<!-- Keep this comment at the end of the file
139
139
Local variables:
140
140
mode: sgml
141
141