Time zone confusion and implementation hints

Guy Harris guy at alum.mit.edu
Tue Jul 6 17:10:29 UTC 2010


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.



More information about the tz mailing list