Structure for information from the services database
#include <netdb.h> struct servent { char * s_name; char ** s_aliases; int s_port; char * s_proto; };
This structure is used to hold the broken-out fields of a line in the network services database, /etc/services. The members of this structure are:
endservent(), getservbyname(), getservbyport(), getservent(), setservent()
/etc/services in the Utilities Reference