Reference

sockfd_lookup(9) on Linux

The text 100ff871292d, as Debian 4.0 (Etch) shipped it.

Go from a file number to its socket slot

sockfd_lookup(9) on Linux now