summaryrefslogtreecommitdiffstats
path: root/Modules/termios.c
diff options
context:
space:
mode:
authorPeter Schneider-Kamp <nowonder@nowonder.de>2000-07-10 12:15:54 (GMT)
committerPeter Schneider-Kamp <nowonder@nowonder.de>2000-07-10 12:15:54 (GMT)
commit416d413527ed7e9a1a5fe98f94487f6ee4315d2e (patch)
treee4ce3d7d468161576e9d8a139065875804ab61ce /Modules/termios.c
parente89b15691e224f7742b72b9e502580a0189659fe (diff)
downloadcpython-416d413527ed7e9a1a5fe98f94487f6ee4315d2e.zip
cpython-416d413527ed7e9a1a5fe98f94487f6ee4315d2e.tar.gz
cpython-416d413527ed7e9a1a5fe98f94487f6ee4315d2e.tar.bz2
ANSI-fication
Diffstat (limited to 'Modules/termios.c')
-rw-r--r--Modules/termios.c24
1 files changed, 6 insertions, 18 deletions
diff --git a/Modules/termios.c b/Modules/termios.c
index aab6b8a..80d41de 100644
--- a/Modules/termios.c
+++ b/Modules/termios.c
@@ -46,9 +46,7 @@ indexing in the cc array must be done using the symbolic constants defined\n\
in the TERMIOS module.";
static PyObject *
-termios_tcgetattr(self, args)
- PyObject *self;
- PyObject *args;
+termios_tcgetattr(PyObject *self, PyObject *args)
{
int fd;
struct termios mode;
@@ -126,9 +124,7 @@ queued output, or TERMIOS.TCSAFLUSH to change after transmitting all\n\
queued output and discarding all queued input. ";
static PyObject *
-termios_tcsetattr(self, args)
- PyObject *self;
- PyObject *args;
+termios_tcsetattr(PyObject *self, PyObject *args)
{
int fd, when;
struct termios mode;
@@ -195,9 +191,7 @@ A zero duration sends a break for 0.25-0.5 seconds; a nonzero duration \n\
has a system dependent meaning. ";
static PyObject *
-termios_tcsendbreak(self, args)
- PyObject *self;
- PyObject *args;
+termios_tcsendbreak(PyObject *self, PyObject *args)
{
int fd, duration;
@@ -219,9 +213,7 @@ tcdrain(fd) -> None\n\
Wait until all output written to file descriptor fd has been transmitted. ";
static PyObject *
-termios_tcdrain(self, args)
- PyObject *self;
- PyObject *args;
+termios_tcdrain(PyObject *self, PyObject *args)
{
int fd;
@@ -246,9 +238,7 @@ queue, TERMIOS.TCOFLUSH for the output queue, or TERMIOS.TCIOFLUSH for\n\
both queues. ";
static PyObject *
-termios_tcflush(self, args)
- PyObject *self;
- PyObject *args;
+termios_tcflush(PyObject *self, PyObject *args)
{
int fd, queue;
@@ -273,9 +263,7 @@ TERMIOS.TCOON to restart output, TERMIOS.TCIOFF to suspend input,\n\
or TERMIOS.TCION to restart input. ";
static PyObject *
-termios_tcflow(self, args)
- PyObject *self;
- PyObject *args;
+termios_tcflow(PyObject *self, PyObject *args)
{
int fd, action;