I just wanted to use nanosleep() but it seems not to be available in MingW ctime:
#include <ctime> //this is what I need, isn't it?
How can I use nanosleep on MingW? Thanks.
Unfortunately, MinGW doesn't provide nanosleep().
MinGW only provides functions on this list, which are in the Microsoft API.