POSIX code snippet.