diff options
author | Fred Drake <fdrake@acm.org> | 2000-06-28 17:27:48 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-06-28 17:27:48 (GMT) |
commit | c82634c13cce7d846236eba8ab345c52cebc3567 (patch) | |
tree | 68f90f3614d218783b442aadfd5133713212cc12 /Doc/lib/libpty.tex | |
parent | 4e5302a27e97161ffefbe486ff56a134b1b697d3 (diff) | |
download | cpython-c82634c13cce7d846236eba8ab345c52cebc3567.zip cpython-c82634c13cce7d846236eba8ab345c52cebc3567.tar.gz cpython-c82634c13cce7d846236eba8ab345c52cebc3567.tar.bz2 |
Thomas Wouters <thomas@xs4all.net>:
Documentation updates related to the addition of openpty() and forkpty().
Diffstat (limited to 'Doc/lib/libpty.tex')
-rw-r--r-- | Doc/lib/libpty.tex | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/lib/libpty.tex b/Doc/lib/libpty.tex index 5ef3d0f..aca9052 100644 --- a/Doc/lib/libpty.tex +++ b/Doc/lib/libpty.tex @@ -26,6 +26,13 @@ descriptor connected to the child's controlling terminal (and also to the child's standard input and output. \end{funcdesc} +\begin{funcdesc}{openpty}{} +Open a new pseudo-terminal pair, using \function{os.openpty()} if +possible, or emulation code for SGI and generic \UNIX{} systems. +Return a pair of file descriptors \code{(\var{master}, \var{slave})}, +for the master and the slave end, respectively. +\end{funcdesc} + \begin{funcdesc}{spawn}{argv\optional{, master_read\optional{, stdin_read}}} Spawn a process, and connect its controlling terminal with the current process's standard io. This is often used to baffle programs which |