summaryrefslogtreecommitdiffstats
path: root/Modules/fcntlmodule.c
Commit message (Collapse)AuthorAgeFilesLines
* fcntl.ioctl(): Update error message; necessity noted by Michael Hudson.Fred Drake2001-05-141-1/+3
|
* Fix the fcntl() docstring so the user is not mis-directed to the FCNTLFred Drake2001-05-101-7/+7
| | | | module for useful constants.
* Modify to allow file objects wherever file descriptors are needed.Fred Drake2001-05-091-8/+71
| | | | | | | | This closes SF bug #231328. Added all constants needed to use the functions defined in this module that are not defined elsewhere (the O_* symbols are available in the os module). No additonal modules are needed to use this now.
* Let's keep things portable to non GCC compilers, please.Sjoerd Mullender2001-01-251-22/+22
| | | | You can only use mult-line strings in C if each line ends in \.
* lockf_doc: a much better description of the lockf() function, based onBarry Warsaw2001-01-251-4/+23
| | | | an eyeballing of the code.
* REMOVED all CWI, CNRI and BeOpen copyright markings.Guido van Rossum2000-09-011-9/+0
| | | | This should match the situation in the 1.6b1 tree.
* Do the absolute minimal amount of modifications to eradicateBarry Warsaw2000-09-011-4/+0
| | | | | | | | | | | | | | | Py_FatalError() from module initialization functions. The importing mechanism already checks for PyErr_Occurred() after module importation and it Does The Right Thing. Unfortunately, the following either were not compiled or tested by the regression suite, due to issues with my development platform: almodule.c cdmodule.c mpzmodule.c puremodule.c timingmodule.c
* Rob Hooft (Patch #101046): use PyArg_ParseTuple everywhere.Guido van Rossum2000-08-021-21/+27
|
* 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
|
* Change copyright notice - 2nd try.Guido van Rossum2000-06-301-6/+0
|
* Change copyright notice.Guido van Rossum2000-06-301-22/+7
|
* Massive patch by Skip Montanaro to add ":name" to as manyGuido van Rossum2000-02-291-1/+1
| | | | PyArg_ParseTuple() format string arguments as possible.
* Changes for long file support by Steve Clift.Guido van Rossum1999-01-061-9/+33
| | | | He also fixes thread-related evil that caused core dumps.
* Add DL_EXPORT() to all modules that could possibly be usedGuido van Rossum1998-12-041-1/+1
| | | | on BeOS or Windows.
* Doc strings by Chris Petrilli.Guido van Rossum1998-11-231-6/+44
|
* Keep gcc -Wall happyGuido van Rossum1997-08-151-0/+1
|
* Add definitions for symbolic constants LOCK_{EX,NB,SH,UN}.Guido van Rossum1997-07-311-0/+25
|
* Opps, left in a /*#include "modsupport.h"*/Roger E. Masse1996-12-171-1/+0
|
* Grandly renamed.Roger E. Masse1996-12-171-61/+65
|
* Include <sys/ioctl.h>, to keep gcc -Wall happy.Guido van Rossum1996-12-091-0/+1
|
* Keep gcc -Wall happy.Guido van Rossum1996-12-051-2/+8
|
* New permission notice, includes CNRI.Guido van Rossum1996-10-251-13/+20
|
* Added lockf() callGuido van Rossum1996-09-111-0/+45
|
* A fcntl implementation for systems (like Solaris) without flock() call.Guido van Rossum1996-06-111-0/+27
| | | | By Sjoerd.
* Added flock().Guido van Rossum1996-05-231-0/+29
|
* add BGN/END_SAVE macros around fcntl/ioctl callsGuido van Rossum1995-10-071-2/+12
|
* Added 1995 to copyright message.Guido van Rossum1995-01-041-2/+2
| | | | | Setup.in: clarified Tk comments somewhat. structmodule.c: use memcpy() instead of double precision assignment.
* Merge alpha100 branch back to main trunkGuido van Rossum1994-08-011-1/+1
|
* * Changed all copyright messages to include 1993.Guido van Rossum1993-03-291-2/+2
| | | | | | | | | | | | | | | | | * Stubs for faster implementation of local variables (not yet finished) * Added function name to code object. Print it for code and function objects. THIS MAKES THE .PYC FILE FORMAT INCOMPATIBLE (the version number has changed accordingly) * Print address of self for built-in methods * New internal functions getattro and setattro (getattr/setattr with string object arg) * Replaced "dictobject" with more powerful "mappingobject" * New per-type functio tp_hash to implement arbitrary object hashing, and hashobject() to interface to it * Added built-in functions hash(v) and hasattr(v, 'name') * classobject: made some functions static that accidentally weren't; added __hash__ special instance method to implement hash() * Added proper comparison for built-in methods and functions
* struct: pack/unpack binary structs; fcntl: fcntl(), ioctl().Guido van Rossum1992-08-171-0/+146