man getservbyname () - See getservent.3posix

REFERENCE

See getservent.3posix