From fb5f6ccc00f726b43edf6ae1aa418e4c019d5e8f Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Sun, 28 Nov 2004 11:38:36 +0000 Subject: [PATCH] fclose() releases the lock (bug #30600) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@173666 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/filesystem/functions/flock.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/reference/filesystem/functions/flock.xml b/reference/filesystem/functions/flock.xml index 3330cdb530..f2bae5dbaa 100644 --- a/reference/filesystem/functions/flock.xml +++ b/reference/filesystem/functions/flock.xml @@ -1,5 +1,5 @@ - + @@ -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 fclose + (which is also called automatically when script finished). &return.success;