summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libfcntl.tex
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2003-01-15 21:08:19 (GMT)
committerSkip Montanaro <skip@pobox.com>2003-01-15 21:08:19 (GMT)
commita5caa6fcd9dea7091aa4749f18ee891b373797a0 (patch)
tree2501e1c9bfd4ffa59535d650a67beff299f4f097 /Doc/lib/libfcntl.tex
parent2dc505e0586ce51ae2ba862e4aa29b1936335193 (diff)
downloadcpython-a5caa6fcd9dea7091aa4749f18ee891b373797a0.zip
cpython-a5caa6fcd9dea7091aa4749f18ee891b373797a0.tar.gz
cpython-a5caa6fcd9dea7091aa4749f18ee891b373797a0.tar.bz2
reference the os module and the lock flags in the os.open() function.
(Someone please review what I wrote for accuracy.)
Diffstat (limited to 'Doc/lib/libfcntl.tex')
-rw-r--r--Doc/lib/libfcntl.tex8
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/lib/libfcntl.tex b/Doc/lib/libfcntl.tex
index 33a5893..645a97e 100644
--- a/Doc/lib/libfcntl.tex
+++ b/Doc/lib/libfcntl.tex
@@ -118,3 +118,11 @@ hold an integer value; in the second example it will hold a string
value. The structure lay-out for the \var{lockdata} variable is
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{fcntl.lockf} and \function{fcntl.flock}
+ functions, providing a more platform-independent file
+ locking facility.}
+\end{seealso}