Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1549855

Browse files
committed
Add docs for os.fchdir().
1 parent 4d1e64b commit 1549855

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

Doc/lib/libos.tex

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ \subsection{Process Parameters \label{os-procinfo}}
101101
\end{datadesc}
102102

103103
\begin{funcdescni}{chdir}{path}
104+
\funclineni{fchdir}{}
104105
\funclineni{getcwd}{}
105106
These functions are described in ``Files and Directories'' (section
106107
\ref{os-file-dir}).
@@ -590,6 +591,14 @@ \subsection{Files and Directories \label{os-file-dir}}
590591
Availability: Macintosh, \UNIX, Windows.
591592
\end{funcdesc}
592593

594+
\begin{funcdesc}{fchdir}{fd}
595+
Change the current working directory to the directory represented by
596+
the file descriptor \var{fd}. The descriptor must refer to an opened
597+
directory, not an open file.
598+
Availability: \UNIX.
599+
\versionadded{2.3}
600+
\end{funcdesc}
601+
593602
\begin{funcdesc}{getcwd}{}
594603
Return a string representing the current working directory.
595604
Availability: Macintosh, \UNIX, Windows.

0 commit comments

Comments
 (0)