Use POSIX method.