Reference

pidwait(1) on Linux

The text 0802553a37e0, as Debian 12 (Bookworm) shipped it.

look up, signal, or wait for processes based on name and other attributes

Flags it lists

pidwait(1) on Linux now