The C library has exploded. The manual page may give an
indication where to find a specific function.
Those libraries are essentially split over two directories:
libsocket - socket functions
libnsl - network services library
libgen - regular expression functions
libcurses - the SysVR4 curses/terminfo library.
See Intro(3) for more details.