Adding more POSIX functions, examples