Reference

xcb_shm_attach_fd_checked(3) on Linux

The text 51616ebf52a4, as Debian 12 (Bookworm) shipped it.

xcb_shm_attach_fd_checked(3) on Linux now