summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2005-06-08 02:28:11 (GMT)
committerSkip Montanaro <skip@pobox.com>2005-06-08 02:28:11 (GMT)
commit684364c646543c4d017207219aba73f683683c5d (patch)
tree49ce783162dbb3b13a629ee924f422b0d3cba745
parentecdad8575ea0825f6cf6057906afd0fc94a375fc (diff)
downloadcpython-684364c646543c4d017207219aba73f683683c5d.zip
cpython-684364c646543c4d017207219aba73f683683c5d.tar.gz
cpython-684364c646543c4d017207219aba73f683683c5d.tar.bz2
Tweak note about using os.open to lock files if O_SHLOCK and O_EXLOCK are
present.
-rw-r--r--Doc/lib/libfcntl.tex10
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/lib/libfcntl.tex b/Doc/lib/libfcntl.tex
index e1350ec..dc76da3 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}