From 6db897c52c02508523334f18b393b592f7e548aa Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Mon, 12 Jul 1999 16:49:30 +0000 Subject: Move chdir() and getcwd() descriptions to "Files and Directories" with a pointer from the "Process Parameters" section. Based on comments from Aahz Maruch, Tim Peters, and GvR. --- Doc/lib/libos.tex | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex index a519366..8388d3f 100644 --- a/Doc/lib/libos.tex +++ b/Doc/lib/libos.tex @@ -86,12 +86,6 @@ is also a valid module: it may be imported directly as These functions and data items provide information and operate on the current process and user. -\begin{funcdesc}{chdir}{path} -\index{directory!changing} -Change the current working directory to \var{path}. -Availability: Macintosh, \UNIX{}, Windows. -\end{funcdesc} - \begin{datadesc}{environ} A mapping object representing the string environment. For example, \code{environ['HOME']} is the pathname of your home directory (on some @@ -107,10 +101,11 @@ the appropriate process-creation functions to cause child processes to use a modified environment. \end{datadesc} -\begin{funcdesc}{getcwd}{} -Return a string representing the current working directory. -Availability: Macintosh, \UNIX{}, Windows. -\end{funcdesc} +\begin{funcdescni}{chdir}{path} +\funclineni{getcwd}{} +These functions are described in ``Files and Directories'' (section +\ref{os-file-dir}). +\end{funcdescni} \begin{funcdesc}{getegid}{} Return the current process' effective group id. @@ -410,6 +405,17 @@ See the \UNIX{} manual for the semantics. Availability: \UNIX{}. \end{funcdesc} +\begin{funcdesc}{chdir}{path} +\index{directory!changing} +Change the current working directory to \var{path}. +Availability: Macintosh, \UNIX{}, Windows. +\end{funcdesc} + +\begin{funcdesc}{getcwd}{} +Return a string representing the current working directory. +Availability: Macintosh, \UNIX{}, Windows. +\end{funcdesc} + \begin{funcdesc}{chmod}{path, mode} Change the mode of \var{path} to the numeric \var{mode}. Availability: \UNIX{}, Windows. -- cgit v0.12