C++ wrapper of some C system function.