On 7 Jul, 23:33, "Martin v. Loewis" <mar... at v.loewis.de> wrote: > > The Windows API "errno" is GetLastError. But a delinquent CRT might > > map GetLastError() to other integers. > > Please check the source before posting. msvcrt defines errno as I don't have the source to msvcrt, at least not to my knowledge.