C++ Wrapper Around Linux System calls