Reference

sockfd_lookup(9) on Linux

The text b49596b2a149, as Debian 6.0 (Squeeze) shipped it.

Go from a file number to its socket slot

sockfd_lookup(9) on Linux now