SDL_WaitEvent(3) on Linux
The text 771789c3d73a, as Debian 12 (Bookworm), Debian 11 (Bullseye), Debian 10 (Buster), Debian 9 (Stretch), Debian 8 (Jessie), Debian 7 (Wheezy), Debian 6.0 (Squeeze) shipped it.
Waits indefinitely for the next available event.