[Python-Dev] Windows IO
"Martin v. L�wis"
martin@v.loewis.de
Mon, 17 Mar 2003 23:08:31 +0100
Mon, 17 Mar 2003 23:08:31 +0100
- Previous message: [Python-Dev] Windows IO
- Next message: [Python-Dev] Re: [Python-checkins] python/dist/src/Modules _hotshot.c,1.32,1.33 arraymodule.c,2.84,2.85 xreadlinesmodule.c,1.13,1.14
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
James C. Ahlstrom wrote: > AFAIK, all Python IO uses the fprintf() functions of Windows. These > stream IO functions are Posix emulations, are not the native > Windows IO functions, and are second class citizens. The native > Windows IO functions are CreateFile(), ReadFile(), WriteFile() etc. > The native Windows functions support additional functionality. This isn't really the case. fprintf is not (primarily) defined in POSIX, but in standard C, and it is part of the standard C library that comes with the C compiler. It is true that fprintf is not a system call on Windows, but neither is it a system call on Unix (the system call on Unix is write(2)). Regards, Martin
- Previous message: [Python-Dev] Windows IO
- Next message: [Python-Dev] Re: [Python-checkins] python/dist/src/Modules _hotshot.c,1.32,1.33 arraymodule.c,2.84,2.85 xreadlinesmodule.c,1.13,1.14
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]