Improved POSIX compatibility.