summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-02-02 08:02:57 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-02-02 08:02:57 +0000
commitea3105be5e2358251beae0304b59a16554680936 (patch)
treea0fa305c7e226d919521c6ce96d79e8fb4a04d90 /pod
parentbee32ff8f5fb3bbd86101dcb039642bf5fde9142 (diff)
downloadperl-ea3105be5e2358251beae0304b59a16554680936.tar.gz
flock() pod talks about "adding" in the sense of "or-ing"
p4raw-id: //depot/perl@4956
Diffstat (limited to 'pod')
-rw-r--r--pod/perlfunc.pod6
1 files changed, 3 insertions, 3 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index e40b31bec1..d4c273915b 100644
--- a/pod/perlfunc.pod
+++ b/pod/perlfunc.pod
@@ -1559,11 +1559,11 @@ in the way of your getting your job done.)
OPERATION is one of LOCK_SH, LOCK_EX, or LOCK_UN, possibly combined with
LOCK_NB. These constants are traditionally valued 1, 2, 8 and 4, but
-you can use the symbolic names if import them from the Fcntl module,
+you can use the symbolic names if you import them from the Fcntl module,
either individually, or as a group using the ':flock' tag. LOCK_SH
requests a shared lock, LOCK_EX requests an exclusive lock, and LOCK_UN
-releases a previously requested lock. If LOCK_NB is added to LOCK_SH or
-LOCK_EX then C<flock> will return immediately rather than blocking
+releases a previously requested lock. If LOCK_NB is bitwise-or'ed with
+LOCK_SH or LOCK_EX then C<flock> will return immediately rather than blocking
waiting for the lock (check the return status to see if you got it).
To avoid the possibility of miscoordination, Perl now flushes FILEHANDLE