C++11 has `sleep_for`. But C standard doesn't have the equivalent.

I think I can write a wrapper to call such C++ functions from C.

And there are useful libraries like Boost Filesystem and Asio. These are more complicated but I can also write the wrapper.

Could it be reinventing the wheel? Could it be a bad idea?