Removed POSIX assumptions