SCCS-vsn: lib/libc/net/getprotoent.3 6.2
SCCS-vsn: lib/libc/net/getservent.3 6.2
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
-.\" @(#)getprotoent.3 6.1 (Berkeley) %G%
+.\" @(#)getprotoent.3 6.2 (Berkeley) %G%
.\"
.TH GETPROTOENT 3N ""
.UC 5
.\"
.TH GETPROTOENT 3N ""
.UC 5
struct protoent {
char *p_name; /* official name of protocol */
char **p_aliases; /* alias list */
struct protoent {
char *p_name; /* official name of protocol */
char **p_aliases; /* alias list */
- long p_proto; /* protocol number */
+ int p_proto; /* protocol number */
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
-.\" @(#)getservent.3 6.1 (Berkeley) %G%
+.\" @(#)getservent.3 6.2 (Berkeley) %G%
.\"
.TH GETSERVENT 3N ""
.UC 5
.\"
.TH GETSERVENT 3N ""
.UC 5
struct servent {
char *s_name; /* official name of service */
char **s_aliases; /* alias list */
struct servent {
char *s_name; /* official name of service */
char **s_aliases; /* alias list */
- long s_port; /* port service resides at */
+ int s_port; /* port service resides at */
char *s_proto; /* protocol to use */
};
.ft R
char *s_proto; /* protocol to use */
};
.ft R