diff options
author | Fred Drake <fdrake@acm.org> | 2002-04-15 19:41:27 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2002-04-15 19:41:27 (GMT) |
commit | 154985587b9361eff4b2985d577f53978e715629 (patch) | |
tree | d48cd8ecc48b05626565cea18d68566b9d9fa4cc /Doc | |
parent | 4d1e64bb4606c76770af8e66e699220a3d146631 (diff) | |
download | cpython-154985587b9361eff4b2985d577f53978e715629.zip cpython-154985587b9361eff4b2985d577f53978e715629.tar.gz cpython-154985587b9361eff4b2985d577f53978e715629.tar.bz2 |
Add docs for os.fchdir().
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/lib/libos.tex | 9 |
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. |