dams            Wed May 16 02:27:13 2001 EDT

  Modified files:              
    /phpdoc/en/functions        sem.xml 
  Log:
  Added sem_remove from Gavin, and some missing full stops.
  
Index: phpdoc/en/functions/sem.xml
diff -u phpdoc/en/functions/sem.xml:1.6 phpdoc/en/functions/sem.xml:1.7
--- phpdoc/en/functions/sem.xml:1.6     Sun Nov 12 10:57:31 2000
+++ phpdoc/en/functions/sem.xml Wed May 16 02:27:13 2001
@@ -95,7 +95,7 @@
     </para>
     <note>
      <simpara>
-      This function does not work on Windows systems
+      This function does not work on Windows systems.
      </simpara>
     </note>
    </refsect1>
@@ -167,12 +167,52 @@
     </para>
     <note>
      <simpara>
-      This function does not work on Windows systems
+      This function does not work on Windows systems.
      </simpara>
     </note>    
    </refsect1>
   </refentry>
 
+  <refentry id="function.sem-remove">
+   <refnamediv>
+    <refname>sem_remove</refname>
+    <refpurpose>Remove a semaphore</refpurpose>
+   </refnamediv>
+   <refsect1>
+    <title>Description</title>
+    <funcsynopsis>
+     <funcprototype>
+      <funcdef>int <function>sem_remove</function></funcdef>
+      <paramdef>int <parameter>sem_identifier</parameter></paramdef>
+     </funcprototype>
+    </funcsynopsis>
+    <para>
+     Returns: <literal>TRUE</literal> on success, <literal>FALSE</literal>
+     on error.
+    </para>
+    <para>
+     <function>Sem_remove</function> remove the semaphore
+     <parameter>sem_identifier</parameter> if it
+     has been created by <function>sem_get</function>, 
+     otherwise a warning is generated.
+    </para>
+    <para>
+      After removing the semaphore, it is no more accessible.
+    </para>
+    <para> 
+     See also: <function>sem_get</function>,
+     <function>sem_release</function> and
+     <function>sem_acquire</function>.
+    </para>
+    <note>
+     <simpara>
+      This function does not work on Windows systems. It was added on
+      PHP 4.0.7.
+     </simpara>
+    </note>    
+   </refsect1>
+  </refentry>
+  
   <refentry id="function.shm-attach">
    <refnamediv>
     <refname>shm_attach</refname>
@@ -209,7 +249,7 @@
     </para>
     <note>
      <simpara>
-      This function does not work on Windows systems
+      This function does not work on Windows systems.
      </simpara>
     </note>
    </refsect1>
@@ -256,7 +296,7 @@
     </para>
     <note>
      <simpara>
-      This function does not work on Windows systems
+      This function does not work on Windows systems.
      </simpara>
     </note>
    </refsect1>
@@ -285,7 +325,7 @@
     </para> 
     <note>
      <simpara>
-      This function does not work on Windows systems
+      This function does not work on Windows systems.
      </simpara>
     </note>
    </refsect1>
@@ -313,7 +353,7 @@
     </para>
     <note>
      <simpara>
-      This function does not work on Windows systems
+      This function does not work on Windows systems.
      </simpara>
     </note>
    </refsect1>
@@ -340,7 +380,7 @@
     </para>
     <note>
      <simpara>
-      This function does not work on Windows systems
+      This function does not work on Windows systems.
      </simpara>
     </note>
    </refsect1>


Reply via email to