reference/sem/functions/shm-remove.xml
395ea247cf337110d795979e14841617aa9cefa9
...
...
@@ -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.shm-remove">
3
+
<refentry xml:id="function.shm-remove" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>shm_remove</refname>
6
6
<refpurpose>Removes shared memory from Unix systems</refpurpose>
...
...
@@ -10,11 +10,11 @@
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
12
<type>bool</type><methodname>shm_remove</methodname>
13
-
<methodparam><type>resource</type><parameter>shm_identifier</parameter></methodparam>
13
+
<methodparam><type>SysvSharedMemory</type><parameter>shm</parameter></methodparam>
14
14
</methodsynopsis>
15
15
<para>
16
16
<function>shm_remove</function> removes the shared memory
17
-
<parameter>shm_identifier</parameter>. All data will be destroyed.
17
+
<parameter>shm</parameter>. All data will be destroyed.
18
18
</para>
19
19
</refsect1>
20
20

...
...
@@ -23,11 +23,10 @@
23
23
<para>
24
24
<variablelist>
25
25
<varlistentry>
26
-
<term><parameter>shm_identifier</parameter></term>
26
+
<term><parameter>shm</parameter></term>
27
27
<listitem>
28
28
<para>
29
-
The shared memory identifier as returned by
30
-
<function>shm_attach</function>
29
+
A shared memory segment obtained from <function>shm_attach</function>.
31
30
</para>
32
31
</listitem>
33
32
</varlistentry>
...
...
@@ -42,6 +41,31 @@
42
41
</para>
43
42
</refsect1>
44
43

44
+
<refsect1 role="changelog">
45
+
&reftitle.changelog;
46
+
<para>
47
+
<informaltable>
48
+
<tgroup cols="2">
49
+
<thead>
50
+
<row>
51
+
<entry>&Version;</entry>
52
+
<entry>&Description;</entry>
53
+
</row>
54
+
</thead>
55
+
<tbody>
56
+
<row>
57
+
<entry>8.0.0</entry>
58
+
<entry>
59
+
<parameter>shm</parameter> expects a <classname>SysvSharedMemory</classname>
60
+
instance now; previously, a <type>resource</type> was expected.
61
+
</entry>
62
+
</row>
63
+
</tbody>
64
+
</tgroup>
65
+
</informaltable>
66
+
</para>
67
+
</refsect1>
68
+
45
69
<refsect1 role="seealso">
46
70
&reftitle.seealso;
47
71
<para>
...
...
@@ -52,7 +76,6 @@
52
76
</refsect1>
53
77

54
78
</refentry>
55
-

56
79
<!-- Keep this comment at the end of the file
57
80
Local variables:
58
81
mode: sgml
59
82