- Fix proto and #13191 (FAT FS doesn't support flock()ing).

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@85251 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Markus Fischer 2002-06-10 10:36:18 +00:00
parent 2e6da020b4
commit 872e9bc010

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
<refentry id="function.flock">
<refnamediv>
@ -12,7 +12,7 @@
<type>bool</type><methodname>flock</methodname>
<methodparam><type>int</type><parameter>fp</parameter></methodparam>
<methodparam><type>int</type><parameter>operation</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>wouldblock</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>&amp;wouldblock</parameter></methodparam>
</methodsynopsis>
<simpara>
PHP supports a portable way of locking complete files in an
@ -89,6 +89,12 @@
against other PHP scripts running in parallel threads of the same server
instance!
</para>
<para>
<function>flock</function> is not supported on antiquated filesystems like
<literal>FAT</literal> and its derivates and will therefore always
return &false; under this environments (this is especially true for
Windows 98 users).
</para>
</warning>
</refsect1>
</refentry>