summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libos.tex
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2001-10-04 22:44:26 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2001-10-04 22:44:26 (GMT)
commit244edc89852ef4c0338438e94c7f3801f289f83e (patch)
tree58c5aa8e22e44fdc8b6d1b3f99facf5bb79d9c8d /Doc/lib/libos.tex
parentfcc16330a4f751c0ff0d9c02f0762ce0eaf230bf (diff)
downloadcpython-244edc89852ef4c0338438e94c7f3801f289f83e.zip
cpython-244edc89852ef4c0338438e94c7f3801f289f83e.tar.gz
cpython-244edc89852ef4c0338438e94c7f3801f289f83e.tar.bz2
Add chroot call. Implements feature #459267.
Diffstat (limited to 'Doc/lib/libos.tex')
-rw-r--r--Doc/lib/libos.tex6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex
index 85355a5..f8804e8 100644
--- a/Doc/lib/libos.tex
+++ b/Doc/lib/libos.tex
@@ -577,6 +577,12 @@ Return a string representing the current working directory.
Availability: Macintosh, \UNIX{}, Windows.
\end{funcdesc}
+\begin{funcdesc}{chroot}{path}
+Change the root directory of the current process to \var{path}.
+Availability: \UNIX{}.
+\versionadded{2.2}
+\end{funcdesc}
+
\begin{funcdesc}{chmod}{path, mode}
Change the mode of \var{path} to the numeric \var{mode}.
Availability: \UNIX{}, Windows.