From: Fred Drake Date: Mon, 15 Apr 2002 19:41:27 +0000 (+0000) Subject: Add docs for os.fchdir(). X-Git-Tag: v2.3c1~5946 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=154985587b9361eff4b2985d577f53978e715629;p=python Add docs for os.fchdir(). --- diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex index 6a07ab1c11..5819f80609 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.