From 684364c646543c4d017207219aba73f683683c5d Mon Sep 17 00:00:00 2001 From: Skip Montanaro Date: Wed, 8 Jun 2005 02:28:11 +0000 Subject: [PATCH] Tweak note about using os.open to lock files if O_SHLOCK and O_EXLOCK are present. --- Doc/lib/libfcntl.tex | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Doc/lib/libfcntl.tex b/Doc/lib/libfcntl.tex index e1350ecb230..dc76da3cc95 100644 --- a/Doc/lib/libfcntl.tex +++ b/Doc/lib/libfcntl.tex @@ -166,9 +166,9 @@ system dependent --- therefore using the \function{flock()} call may be better. \begin{seealso} - \seemodule{os}{The \function{os.open()} function supports locking flags - and is available on a wider variety of platforms than - the \function{lockf()} and \function{flock()} - functions, providing a more platform-independent file - locking facility.} + \seemodule{os}{If the locking flags \constant{O_SHLOCK} and + \constant{O_EXLOCK} are present in the \module{os} module, + the \function{os.open()} function provides a more + platform-independent alternative to the \function{lockf()} + and \function{flock()} functions.} \end{seealso}