Posix-complient code
