diff options
author | Fred Drake <fdrake@acm.org> | 2000-06-28 16:40:38 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-06-28 16:40:38 (GMT) |
commit | 8cef4cf737878bd8eec648426eebe9b9019b18be (patch) | |
tree | 2fe93f0a2d3c9e22ad836a45bc7a526416c11c61 /Lib/sched.py | |
parent | 57823862683db7a463a134dbdf259d2e027619f6 (diff) | |
download | cpython-8cef4cf737878bd8eec648426eebe9b9019b18be.zip cpython-8cef4cf737878bd8eec648426eebe9b9019b18be.tar.gz cpython-8cef4cf737878bd8eec648426eebe9b9019b18be.tar.bz2 |
Thomas Wouters <thomas@xs4all.net>:
This patch adds the openpty() and forkpty() library calls to posixmodule.c,
when they are available on the target
system. (glibc-2.1-based Linux systems, FreeBSD and BSDI at least, probably
the other BSD-based systems as well.)
Lib/pty.py is also rewritten to use openpty when available, but falls
back to the old SGI method or the "manual" BSD open-a-pty
code. Openpty() is necessary to use the Unix98 ptys under Linux 2.2,
or when using non-standard tty names under (at least) BSDI, which is
why I needed it, myself ;-) forkpty() is included for symmetry.
Diffstat (limited to 'Lib/sched.py')
0 files changed, 0 insertions, 0 deletions