reference/sem/functions/sem-release.xml
105769eb557af47e5f2d0bea47457827114942fa
...
...
@@ -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.sem-release">
3
+
<refentry xml:id="function.sem-release" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>sem_release</refname>
6
6
<refpurpose>Release a semaphore</refpurpose>
...
...
@@ -10,7 +10,7 @@
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
12
<type>bool</type><methodname>sem_release</methodname>
13
-
<methodparam><type>resource</type><parameter>sem_identifier</parameter></methodparam>
13
+
<methodparam><type>SysvSemaphore</type><parameter>semaphore</parameter></methodparam>
14
14
</methodsynopsis>
15
15
<para>
16
16
<function>sem_release</function> releases the semaphore if it
...
...
@@ -28,10 +28,10 @@
28
28
<para>
29
29
<variablelist>
30
30
<varlistentry>
31
-
<term><parameter>sem_identifier</parameter></term>
31
+
<term><parameter>semaphore</parameter></term>
32
32
<listitem>
33
33
<para>
34
-
A Semaphore resource handle as returned by
34
+
A Semaphore as returned by
35
35
<function>sem_get</function>.
36
36
</para>
37
37
</listitem>
...
...
@@ -47,6 +47,31 @@
47
47
</para>
48
48
</refsect1>
49
49

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

60
85
</refentry>
61
-

62
86
<!-- Keep this comment at the end of the file
63
87
Local variables:
64
88
mode: sgml
65
89