reference/posix/functions/posix-mknod.xml
265acc36ee4a1f4553a52030bf1717521c24dfb4
...
...
@@ -11,8 +11,8 @@
11
11
&reftitle.description;
12
12
<methodsynopsis>
13
13
<type>bool</type><methodname>posix_mknod</methodname>
14
-
<methodparam><type>string</type><parameter>pathname</parameter></methodparam>
15
-
<methodparam><type>int</type><parameter>mode</parameter></methodparam>
14
+
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
15
+
<methodparam><type>int</type><parameter>flags</parameter></methodparam>
16
16
<methodparam choice="opt"><type>int</type><parameter>major</parameter><initializer>0</initializer></methodparam>
17
17
<methodparam choice="opt"><type>int</type><parameter>minor</parameter><initializer>0</initializer></methodparam>
18
18
</methodsynopsis>
...
...
@@ -26,7 +26,7 @@
26
26
<para>
27
27
<variablelist>
28
28
<varlistentry>
29
-
<term><parameter>pathname</parameter></term>
29
+
<term><parameter>filename</parameter></term>
30
30
<listitem>
31
31
<para>
32
32
The file to create
...
...
@@ -34,7 +34,7 @@
34
34
</listitem>
35
35
</varlistentry>
36
36
<varlistentry>
37
-
<term><parameter>mode</parameter></term>
37
+
<term><parameter>flags</parameter></term>
38
38
<listitem>
39
39
<para>
40
40
This parameter is constructed by a bitwise OR between file type (one of
...
...
@@ -109,7 +109,6 @@ if (!posix_mknod($file, $type | $permissions, $major, $minor)) {
109
109
</refsect1>
110
110

111
111
</refentry>
112
-

113
112
<!-- Keep this comment at the end of the file
114
113
Local variables:
115
114
mode: sgml
116
115