reference/sem/functions/ftok.xml
0c9c2dd669fe9395eaa73d487fbd160f9057429a
...
...
@@ -1,6 +1,6 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-
<refentry xmlns="http://docbook.org/ns/docbook" xml:id='function.ftok'>
3
+
<refentry xml:id="function.ftok" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>ftok</refname>
6
6
<refpurpose>Convert a pathname and a project identifier to a System V IPC key</refpurpose>
...
...
@@ -10,11 +10,11 @@
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
12
<type>int</type><methodname>ftok</methodname>
13
-
<methodparam><type>string</type><parameter>pathname</parameter></methodparam>
14
-
<methodparam><type>string</type><parameter>proj</parameter></methodparam>
13
+
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
14
+
<methodparam><type>string</type><parameter>project_id</parameter></methodparam>
15
15
</methodsynopsis>
16
16
<para>
17
-
The function converts the <parameter>pathname</parameter> of an existing
17
+
The function converts the <parameter>filename</parameter> of an existing
18
18
accessible file and a project identifier into an
19
19
<literal>integer</literal> for use with for example
20
20
<function>shmop_open</function> and other System V IPC keys.
...
...
@@ -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
Path to an accessible file.
...
...
@@ -34,7 +34,7 @@
34
34
</listitem>
35
35
</varlistentry>
36
36
<varlistentry>
37
-
<term><parameter>proj</parameter></term>
37
+
<term><parameter>project_id</parameter></term>
38
38
<listitem>
39
39
<para>
40
40
Project identifier. This must be a one character string.
...
...
@@ -64,7 +64,6 @@
64
64
</refsect1>
65
65

66
66
</refentry>
67
-

68
67
<!-- Keep this comment at the end of the file
69
68
Local variables:
70
69
mode: sgml
71
70