php-doc-en/reference/posix/functions/posix-mkfifo.xml
Markus Fischer 147a2fd05e - Wrote a brief description so the user at least has something useful in his
hands.
# Someone please test if this is proper docbook; no test environment here


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@79639 c90b9560-bf6c-de11-be94-00142212c4b1
2002-04-23 22:36:56 +00:00

52 lines
1.7 KiB
XML

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/posix.xml, last change in rev 1.2 -->
<refentry id="function.posix-mkfifo">
<refnamediv>
<refname>posix_mkfifo</refname>
<refpurpose>
Create a fifo special file (a named pipe)
</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>bool</type><methodname>posix_mkfifo</methodname>
<methodparam><type>string</type><parameter>pathname</parameter></methodparam>
<methodparam><type>int</type><parameter>mode</parameter></methodparam>
</methodsynopsis>
<para>
<function>posix_mkfifo</function> creates a special
<literal>FIFO</literal> file which exists in the file system and acts as
a bidirectional communication endpoint for processes.
</para>
<para>
The second parameter <parameter>mode</parameter> has to be given in octal
notation (e.g. 0644). The permission of the newly created
<literal>FIFO</literal> also depends on the setting of the current
<function>umask</function>. The permissions of the created file are (mode
&amp; ~umask).
</para>
&note.sm.uidcheck.dir;
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->