summaryrefslogtreecommitdiffstats
path: root/Modules/termios.c
Commit message (Collapse)AuthorAgeFilesLines
* Use METH_OLDARGS instead of numeric constant 0 in method def. tablesAndrew M. Kuchling2000-08-031-6/+12
|
* Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)',Thomas Wouters2000-07-211-1/+1
| | | | | | | | | | | | | | | | | | and a couple of functions that were missed in the previous batches. Not terribly tested, but very carefully scrutinized, three times. All these were found by the little findkrc.py that I posted to python-dev, which means there might be more lurking. Cases such as this: long func(a, b) long a; long b; /* flagword */ { and other cases where the last ; in the argument list isn't followed by a newline and an opening curly bracket. Regexps to catch all are welcome, of course ;)
* ANSI-ficationPeter Schneider-Kamp2000-07-101-18/+6
|
* Should include "Python.h", not <Python.h> -- it's not a standardGuido van Rossum1999-01-141-1/+1
| | | | header file (yet :-).
* Add DL_EXPORT() to all modules that could possibly be usedGuido van Rossum1998-12-041-1/+1
| | | | on BeOS or Windows.
* Changes for BeOS, QNX and long long, by Chris Herborth.Guido van Rossum1998-08-041-0/+4
|
* In tcsetattr(), first initialize the mode structure by callingGuido van Rossum1998-06-121-0/+3
| | | | | tcgetattr(). This seems to be the only correct way to cope with platform-specific structure members...
* Doc strings added by Mitch Chapman.Guido van Rossum1998-03-031-7/+67
|
* Apply two changes, systematically:Guido van Rossum1997-10-011-4/+1
| | | | | | | | | | | | | | | | | (1) Use PyErr_NewException("module.class", NULL, NULL) to create the exception object. (2) Remove all calls to Py_FatalError(); instead, return or ignore the errors -- the import code now checks PyErr_Occurred() after calling a module's init function, so it's no longer a fatal error for the initialization to fail. Also did some small cleanups, e.g. removed unnecessary test for "already initialized" from initfpectl(), and unified initposix()/initnt(). I haven't checked this very thoroughly, so while the changes are pretty trivial -- beware of untested code!
* Add 'return' keyword before error calls.Guido van Rossum1997-07-171-8/+8
|
* The usual return-value and memory management checks. I'm not planningBarry Warsaw1997-01-101-10/+16
| | | | | a test for this module though (it does compile at least on Solaris 2.5)
* Fix operator priority bug found thanks to gcc -Wall.Guido van Rossum1996-12-101-1/+1
|
* * various modules: #include "Python.h" and remove most remporaryGuido van Rossum1994-09-141-16/+1
| | | | renaming hacks
* Steen Lumholt's termios interface.Guido van Rossum1994-09-121-0/+258