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:
POSIX 1003.1g (draft)
endservent(), getservbyname(), getservbyport(), getservent(), setservent()
/etc/services in the TCP/IP User's Guide