<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.posix.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'de',
  ),
  'this' => 
  array (
    0 => 'function.posix-mkfifo.php',
    1 => 'posix_mkfifo',
    2 => 'Erzeugt eine &quot;FIFO special&quot;-Datei (named pipe)',
  ),
  'up' => 
  array (
    0 => 'ref.posix.php',
    1 => 'POSIX Funktionen',
  ),
  'prev' => 
  array (
    0 => 'function.posix-kill.php',
    1 => 'posix_kill',
  ),
  'next' => 
  array (
    0 => 'function.posix-mknod.php',
    1 => 'posix_mknod',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'de',
    'path' => 'reference/posix/functions/posix-mkfifo.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.posix-mkfifo" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">posix_mkfifo</h1>
  <p class="verinfo">(PHP 4, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">posix_mkfifo</span> &mdash; <span class="dc-title">Erzeugt eine &quot;FIFO special&quot;-Datei (named pipe)</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.posix-mkfifo-description">
  <h3 class="title">Beschreibung</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>posix_mkfifo</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$filename</code></span>, <span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$permissions</code></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

  <p class="para rdfs-comment">
   <span class="function"><strong>posix_mkfifo()</strong></span> erzeugt eine spezielle
   <code class="literal">FIFO</code>-Datei, die im Dateisystem existiert und als
   bidirektionaler Kommunikationsendpunkt für Prozesse agiert.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.posix-mkfifo-parameters">
  <h3 class="title">Parameter-Liste</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">pfilename</code></dt>
     <dd>
      <p class="para">
       Der Pfad zur <code class="literal">FIFO</code>-Datei.
      </p>
     </dd>
    
    
     <dt><code class="parameter">permissions</code></dt>
     <dd>
      <p class="para">
       Der zweite Parameter <code class="parameter">permissions</code> muss in oktaler
       Schreibweise angegeben werden (z. B. 0644). Die Zugriffsberechtigungen
       des neu erzeugten <code class="literal">FIFO</code> hängen auch von der
       Einstellung der aktuellen <span class="function"><a href="function.umask.php" class="function">umask()</a></span> ab. Die
       Zugriffsberechtigungen der erzeugten Datei sind (mode &amp; ~umask).
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.posix-mkfifo-returnvalues">
  <h3 class="title">Rückgabewerte</h3>
  <p class="para">
   Gibt bei Erfolg <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> zurück. Bei einem Fehler wird <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> zurückgegeben.
  </p>
 </div>


</div><?php manual_footer($setup); ?>