mfischer Mon Jun 10 06:36:18 2002 EDT
Modified files:
/phpdoc/en/reference/filesystem/functions flock.xml
Log:
- Fix proto and #13191 (FAT FS doesn't support flock()ing).
Index: phpdoc/en/reference/filesystem/functions/flock.xml
diff -u phpdoc/en/reference/filesystem/functions/flock.xml:1.2
phpdoc/en/reference/filesystem/functions/flock.xml:1.3
--- phpdoc/en/reference/filesystem/functions/flock.xml:1.2 Wed Apr 17 02:38:07
2002
+++ phpdoc/en/reference/filesystem/functions/flock.xml Mon Jun 10 06:36:18 2002
@@ -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>&wouldblock</parameter></methodparam>
</methodsynopsis>
<simpara>
PHP supports a portable way of locking complete files in an
@@ -88,6 +88,12 @@
may not be able to rely on <function>flock</function> to protect files
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>