July 6, 2010
5:10 p.m.
On Jul 6, 2010, at 9:51 AM, Guy Harris wrote:
The low-level equivalents of open(), read(), and write() in Windows are CreateFile(), ReadFile(), and WriteFile(). (In UN*X, you create files with open(); in Windows, you open files with CreateFile(). :-))
...and the Microsoft C library offers _open(), _read(), _write(), _close(), etc., which function similarly to the UN*X routines - similarly enough that GLib (not to be confused with glibc) and Wireshark use them on Windows - so, on Windows, if you define "open" as "_open", "read" as "_read", etc., that might take care of those routines.