> - the Microsoft CRT interprets TZ, but with a different expected syntax > [2][3], > which led to tzname[0] = "Eur", tzname[1] = "ope".
The TZ environment variable affects a lot of C library functions: * Some which should not be exhibiting locale dependent behaviour at all: fstat, _fstat* https://msdn.microsoft.com/en-us/library/221w8e43.aspx http://pubs.opengroup.org/onlinepubs/9699919799/functions/fstat.html stat, _stat*, _wstat* https://msdn.microsoft.com/en-us/library/14h5k7ff.aspx http://pubs.opengroup.org/onlinepubs/9699919799/functions/stat.html _findfirst*, _wfindfirst* https://msdn.microsoft.com/en-us/library/zyzxfzac.aspx https://msdn.microsoft.com/en-us/library/kda16keh.aspx utime, _utime*, _wutime* https://msdn.microsoft.com/en-us/library/4wacf567.aspx http://pubs.opengroup.org/onlinepubs/9699919799/functions/utime.html _futime* https://msdn.microsoft.com/en-us/library/8592kht8.aspx * Some which should obey TZ, just that they should ignore the values set by Cygwin (instead of exhibiting garbage behaviour): _ftime* https://msdn.microsoft.com/en-us/library/z54t9z5f.aspx http://man7.org/linux/man-pages/man3/ftime.3.html localtime, _localtime* https://msdn.microsoft.com/en-us/library/bf12f0hc.aspx https://msdn.microsoft.com/en-us/library/a442x3ye.aspx http://pubs.opengroup.org/onlinepubs/9699919799/functions/localtime.html _tzset https://msdn.microsoft.com/en-us/library/aa273389.aspx https://msdn.microsoft.com/en-us/library/90s5c885.aspx http://pubs.opengroup.org/onlinepubs/9699919799/functions/tzset.html mktime, _mktime* https://msdn.microsoft.com/en-us/library/d1y53h2a.aspx http://pubs.opengroup.org/onlinepubs/9699919799/functions/mktime.html ctime, _ctime*, _wctime* https://msdn.microsoft.com/en-us/library/59w5xcdy.aspx http://pubs.opengroup.org/onlinepubs/9699919799/functions/ctime.html strftime, _strftime_l https://msdn.microsoft.com/en-us/library/fe06s4ak.aspx http://pubs.opengroup.org/onlinepubs/9699919799/functions/strftime.html wcsftime, _wcsftime_l https://msdn.microsoft.com/en-us/library/fe06s4ak.aspx http://pubs.opengroup.org/onlinepubs/9699919799/functions/wcsftime.html Bruno
