Eric Blake <ebb9 <at> byu.net> writes: > looking at the assembly, it looks like mingw fails to set errno to > EINVAL, but just blindly returns without sleeping).
Correction - on mingw, usleep(1000000) returns EINVAL without touching errno, rather than the POSIX behavior of returning -1 and setting errno to EINVAL. -- Eric Blake