POSIX wrappers for C++