POSIX C/C++ codes