man endservent () - See getservent.3posix

REFERENCE

See getservent.3posix