Reference

pidwait(1) on Linux

The text 179efe046540, as Debian 13 (Trixie) shipped it.

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

Flags it lists

pidwait(1) on Linux now