gethostbyname is located in:
m3core/src/runtime/FreeBSD3/gethostbyname.c
m3core/src/runtime/FreeBSD4/gethostbyname.c