There's multiple places in the Python documentation where it refers you to the C function "wait." For instance: "The exit status for the command can be interpreted according to the rules for the C function wait," in the commands and subprocess modules.
Where can I find this documentation? Apparently my Google-fu is not strong enough, or it's late enough at night that I'm being dumb. (But I figure this is probably a question that should be in Stack Overflow anyway.)