summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-04-15 19:41:27 (GMT)
committerFred Drake <fdrake@acm.org>2002-04-15 19:41:27 (GMT)
commit154985587b9361eff4b2985d577f53978e715629 (patch)
treed48cd8ecc48b05626565cea18d68566b9d9fa4cc
parent4d1e64bb4606c76770af8e66e699220a3d146631 (diff)
downloadcpython-154985587b9361eff4b2985d577f53978e715629.zip
cpython-154985587b9361eff4b2985d577f53978e715629.tar.gz
cpython-154985587b9361eff4b2985d577f53978e715629.tar.bz2
Add docs for os.fchdir().
-rw-r--r--Doc/lib/libos.tex9
1 files changed, 9 insertions, 0 deletions
diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex
index 6a07ab1..5819f80 100644
--- a/Doc/lib/libos.tex
+++ b/Doc/lib/libos.tex
@@ -101,6 +101,7 @@ use a modified environment.
\end{datadesc}
\begin{funcdescni}{chdir}{path}
+\funclineni{fchdir}{}
\funclineni{getcwd}{}
These functions are described in ``Files and Directories'' (section
\ref{os-file-dir}).
@@ -590,6 +591,14 @@ Change the current working directory to \var{path}.
Availability: Macintosh, \UNIX, Windows.
\end{funcdesc}
+\begin{funcdesc}{fchdir}{fd}
+Change the current working directory to the directory represented by
+the file descriptor \var{fd}. The descriptor must refer to an opened
+directory, not an open file.
+Availability: \UNIX.
+\versionadded{2.3}
+\end{funcdesc}
+
\begin{funcdesc}{getcwd}{}
Return a string representing the current working directory.
Availability: Macintosh, \UNIX, Windows.