ANSI-fication

This commit is contained in:
Peter Schneider-Kamp 2000-07-10 12:15:54 +00:00
parent e89b15691e
commit 416d413527
3 changed files with 25 additions and 75 deletions

View file

@ -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;