.\" Modified Mon Apr 22 01:50:54 1996 by Martin Schulze <joey@infodrom.north.de>
.\" 2001-07-25 added a clause about NULL proto (Martin Michlmayr or David N. Welton)
.\"
-.TH GETSERVENT 3 2016-10-08 "GNU" "Linux Programmer's Manual"
+.TH GETSERVENT 3 2017-09-15 "GNU" "Linux Programmer's Manual"
.SH NAME
getservent, getservbyname, getservbyport, setservent, endservent \-
get service entry
structure is defined in
.I <netdb.h>
as follows:
-.sp
+.PP
.in +4n
-.nf
+.EX
struct servent {
char *s_name; /* official service name */
char **s_aliases; /* alias list */
int s_port; /* port number */
char *s_proto; /* protocol to use */
}
-.fi
+.EE
.in
.PP
The members of the
locale
T}
.TE
-
+.sp 1
In the above table,
.I servent
in