summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1999-07-12 16:49:30 (GMT)
committerFred Drake <fdrake@acm.org>1999-07-12 16:49:30 (GMT)
commit6db897c52c02508523334f18b393b592f7e548aa (patch)
tree96b3d40ceb628924893e8693f1c4bece345eaf6f /Doc
parentf930d827bb2b7bd9322d93a2791b613d45f1d6e5 (diff)
downloadcpython-6db897c52c02508523334f18b393b592f7e548aa.zip
cpython-6db897c52c02508523334f18b393b592f7e548aa.tar.gz
cpython-6db897c52c02508523334f18b393b592f7e548aa.tar.bz2
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.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libos.tex26
1 files 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.