Add a (preferred) long-receiving version of waitpid.
Add sigdef attribute for posix_spawn.