File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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}{}
105106These 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}}
590591Availability: 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}{}
594603Return a string representing the current working directory.
595604Availability: Macintosh, \UNIX , Windows.
You can’t perform that action at this time.
0 commit comments