merge in lite2 rcsids and a couple of man page fixes we had not yet found.
This commit is contained in:
parent
3089cbdaf0
commit
ba9b160fd5
|
@ -1,4 +1,4 @@
|
||||||
.\" $NetBSD: gethostbyname.3,v 1.9 1997/03/08 13:39:00 mouse Exp $
|
.\" $NetBSD: gethostbyname.3,v 1.10 1998/02/02 11:53:07 mrg Exp $
|
||||||
.\"
|
.\"
|
||||||
.\" Copyright (c) 1983, 1987, 1991, 1993
|
.\" Copyright (c) 1983, 1987, 1991, 1993
|
||||||
.\" The Regents of the University of California. All rights reserved.
|
.\" The Regents of the University of California. All rights reserved.
|
||||||
|
@ -31,9 +31,9 @@
|
||||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
.\" SUCH DAMAGE.
|
.\" SUCH DAMAGE.
|
||||||
.\"
|
.\"
|
||||||
.\" @(#)gethostbyname.3 8.2 (Berkeley) 4/19/94
|
.\" @(#)gethostbyname.3 8.4 (Berkeley) 5/25/95
|
||||||
.\"
|
.\"
|
||||||
.Dd April 19, 1994
|
.Dd May 25, 1995
|
||||||
.Dt GETHOSTBYNAME 3
|
.Dt GETHOSTBYNAME 3
|
||||||
.Os BSD 4.2
|
.Os BSD 4.2
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
|
@ -96,19 +96,20 @@ The members of this structure are:
|
||||||
.It Fa h_name
|
.It Fa h_name
|
||||||
Official name of the host.
|
Official name of the host.
|
||||||
.It Fa h_aliases
|
.It Fa h_aliases
|
||||||
A zero terminated array of alternative names for the host.
|
A NULL-terminated array of alternative names for the host.
|
||||||
.It Fa h_addrtype
|
.It Fa h_addrtype
|
||||||
The type of address being returned; currently always
|
The type of address being returned; currently always
|
||||||
.Dv AF_INET .
|
.Dv AF_INET .
|
||||||
.It Fa h_length
|
.It Fa h_length
|
||||||
The length, in bytes, of the address.
|
The length, in bytes, of the address.
|
||||||
.It Fa h_addr_list
|
.It Fa h_addr_list
|
||||||
A zero terminated array of network addresses for the host.
|
A NULL-terminated array of network addresses for the host.
|
||||||
Host addresses are returned in network byte order.
|
Host addresses are returned in network byte order.
|
||||||
.It Fa h_addr
|
.It Fa h_addr
|
||||||
The first address in
|
The first address in
|
||||||
.Fa h_addr_list ;
|
.Fa h_addr_list ;
|
||||||
this is for backward compatibility.
|
this is for backward compatibility.
|
||||||
|
.El
|
||||||
.Pp
|
.Pp
|
||||||
When using the nameserver,
|
When using the nameserver,
|
||||||
.Fn gethostbyname
|
.Fn gethostbyname
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.\" $NetBSD: getservent.3,v 1.6 1997/05/12 06:48:38 mikel Exp $
|
.\" $NetBSD: getservent.3,v 1.7 1998/02/02 11:53:11 mrg Exp $
|
||||||
.\"
|
.\"
|
||||||
.\" Copyright (c) 1983, 1991, 1993
|
.\" Copyright (c) 1983, 1991, 1993
|
||||||
.\" The Regents of the University of California. All rights reserved.
|
.\" The Regents of the University of California. All rights reserved.
|
||||||
|
@ -31,9 +31,9 @@
|
||||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
.\" SUCH DAMAGE.
|
.\" SUCH DAMAGE.
|
||||||
.\"
|
.\"
|
||||||
.\" @(#)getservent.3 8.3 (Berkeley) 1/12/94
|
.\" @(#)getservent.3 8.4 (Berkeley) 5/25/95
|
||||||
.\"
|
.\"
|
||||||
.Dd January 12, 1994
|
.Dd May 25, 1995
|
||||||
.Dt GETSERVENT 3
|
.Dt GETSERVENT 3
|
||||||
.Os BSD 4.2
|
.Os BSD 4.2
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
|
@ -81,7 +81,7 @@ The members of this structure are:
|
||||||
.It Fa s_name
|
.It Fa s_name
|
||||||
The official name of the service.
|
The official name of the service.
|
||||||
.It Fa s_aliases
|
.It Fa s_aliases
|
||||||
A zero terminated list of alternative names for the service.
|
A NULL terminated list of alternative names for the service.
|
||||||
.It Fa s_port
|
.It Fa s_port
|
||||||
The port number at which the service resides.
|
The port number at which the service resides.
|
||||||
Port numbers must be given and are returned in network byte order.
|
Port numbers must be given and are returned in network byte order.
|
||||||
|
@ -123,7 +123,7 @@ port number is found,
|
||||||
or until
|
or until
|
||||||
.Dv EOF
|
.Dv EOF
|
||||||
is encountered.
|
is encountered.
|
||||||
If a protocol name is also supplied (non-
|
If a protocol name is also supplied (non-\c
|
||||||
.Dv NULL ) ,
|
.Dv NULL ) ,
|
||||||
searches must also match the protocol.
|
searches must also match the protocol.
|
||||||
.ne 1i
|
.ne 1i
|
||||||
|
|
Loading…
Reference in New Issue