<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/book.sem.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'en',
  ),
  'this' => 
  array (
    0 => 'ref.sem.php',
    1 => 'Semaphore Functions',
    2 => 'Semaphore Functions',
  ),
  'up' => 
  array (
    0 => 'book.sem.php',
    1 => 'Semaphore',
  ),
  'prev' => 
  array (
    0 => 'sem.constants.php',
    1 => 'Predefined Constants',
  ),
  'next' => 
  array (
    0 => 'function.ftok.php',
    1 => 'ftok',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/sem/reference.xml',
  ),
  'history' => 
  array (
  ),
  'extra_header_links' => 
  array (
    'rel' => 'alternate',
    'href' => '/manual/en/feeds/ref.sem.atom',
    'type' => 'application/atom+xml',
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="ref.sem" class="reference">
 <h1 class="title">Semaphore Functions</h1>

 































































































<h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="function.ftok.php">ftok</a> — Convert a pathname and a project identifier to a System V IPC key</li><li><a href="function.msg-get-queue.php">msg_get_queue</a> — Create or attach to a message queue</li><li><a href="function.msg-queue-exists.php">msg_queue_exists</a> — Check whether a message queue exists</li><li><a href="function.msg-receive.php">msg_receive</a> — Receive a message from a message queue</li><li><a href="function.msg-remove-queue.php">msg_remove_queue</a> — Destroy a message queue</li><li><a href="function.msg-send.php">msg_send</a> — Send a message to a message queue</li><li><a href="function.msg-set-queue.php">msg_set_queue</a> — Set information in the message queue data structure</li><li><a href="function.msg-stat-queue.php">msg_stat_queue</a> — Returns information from the message queue data structure</li><li><a href="function.sem-acquire.php">sem_acquire</a> — Acquire a semaphore</li><li><a href="function.sem-get.php">sem_get</a> — Get a semaphore id</li><li><a href="function.sem-release.php">sem_release</a> — Release a semaphore</li><li><a href="function.sem-remove.php">sem_remove</a> — Remove a semaphore</li><li><a href="function.shm-attach.php">shm_attach</a> — Creates or open a shared memory segment</li><li><a href="function.shm-detach.php">shm_detach</a> — Disconnects from shared memory segment</li><li><a href="function.shm-get-var.php">shm_get_var</a> — Returns a variable from shared memory</li><li><a href="function.shm-has-var.php">shm_has_var</a> — Check whether a specific entry exists</li><li><a href="function.shm-put-var.php">shm_put_var</a> — Inserts or updates a variable in shared memory</li><li><a href="function.shm-remove.php">shm_remove</a> — Removes shared memory from Unix systems</li><li><a href="function.shm-remove-var.php">shm_remove_var</a> — Removes a variable from shared memory</li></ul>
</div>
<?php manual_footer($setup); ?>