Code Comments
Programming Forum and web based access to our favorite programming groups.vrana Sun Nov 28 06:38:36 2004 EDT Modified files: /phpdoc/en/reference/filesystem/functions flock.xml Log: fclose() releases the lock (bug #30600) http://cvs.php.net/diff.php/phpdoc/...10&r2=1.11&ty=u Index: phpdoc/en/reference/filesystem/functions/flock.xml diff -u phpdoc/en/reference/filesystem/functions/flock.xml:1.10 phpdoc/en/re ference/filesystem/functions/flock.xml:1.11 --- phpdoc/en/reference/filesystem/functions/flock.xml:1.10 Wed Nov 10 03:30 :29 2004 +++ phpdoc/en/reference/filesystem/functions/flock.xml Sun Nov 28 06:38:36 2 004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> +<!-- $Revision: 1.11 $ --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.flock"> <refnamediv> @@ -67,7 +67,8 @@ reader/writer model which can be used on virtually every platform (including most Unix derivatives and even Windows). The optional third argument is set to &true; if the lock would block (EWOULDBLOCK - errno condition) + errno condition). The lock is released also by <function>fclose</funct ion> + (which is also called automatically when script finished). </simpara> <simpara> &return.success;
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.