On Sun, 01 Mar 2015 16:39:27 +0000, novice2 wrote: > Could you, please, help me to understand, why code:
'cause winapi functions never sets `errno`. `errno` is a libc feature, and winapi knows nothing about libc. besides, `GetLastError()` is not required to return correct errno codes. so you have to either use libc funcions, or translate `GetLastError()` codes to errno manually.
signature.asc
Description: PGP signature