I can't answer either of your two questions, but if you want to do a sleep under windows, you can use Sleep (note the S is capital).
Code:
#include <windows.h>
.
.
   /* Sleep for 1000 milliseconds */
   Sleep(1000);
Note this solution is obviously nonportable. I believe most linux flavors would have sleep and probably usleep, because as you said, these are POSIX.