there's no host.conf in netbsd. pointed out by smb
This commit is contained in:
parent
74954dadf9
commit
908c009e33
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: getaddrinfo.3,v 1.19 2001/02/12 09:28:40 itojun Exp $
|
||||
.\" $NetBSD: getaddrinfo.3,v 1.20 2001/08/05 18:09:03 itojun Exp $
|
||||
.\" $KAME: getaddrinfo.3,v 1.29 2001/02/12 09:24:45 itojun Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1983, 1987, 1991, 1993
|
||||
@ -498,13 +498,6 @@ if (nsock == 0) {
|
||||
freeaddrinfo(res0);
|
||||
.Ed
|
||||
.\"
|
||||
.Sh FILES
|
||||
.Bl -tag -width /etc/resolv.conf -compact
|
||||
.It Pa /etc/hosts
|
||||
.It Pa /etc/host.conf
|
||||
.It Pa /etc/resolv.conf
|
||||
.El
|
||||
.\"
|
||||
.Sh DIAGNOSTICS
|
||||
Error return status from
|
||||
.Fn getaddrinfo
|
||||
@ -563,6 +556,7 @@ indicate an unknown error.
|
||||
.Xr gethostbyname 3 ,
|
||||
.Xr getservbyname 3 ,
|
||||
.Xr hosts 5 ,
|
||||
.Xr resolv.conf 5 ,
|
||||
.Xr services 5 ,
|
||||
.Xr hostname 7 ,
|
||||
.Xr named 8
|
||||
|
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: getnameinfo.3,v 1.13 2001/04/29 04:32:26 itojun Exp $
|
||||
.\" $NetBSD: getnameinfo.3,v 1.14 2001/08/05 18:09:03 itojun Exp $
|
||||
.\" $KAME: getnameinfo.3,v 1.20 2001/01/05 13:37:37 itojun Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1983, 1987, 1991, 1993
|
||||
@ -226,13 +226,6 @@ if (getnameinfo(sa, sa->sa_len, hbuf, sizeof(hbuf), NULL, 0,
|
||||
printf("host=%s\\n", hbuf);
|
||||
.Ed
|
||||
.\"
|
||||
.Sh FILES
|
||||
.Bl -tag -width /etc/resolv.conf -compact
|
||||
.It Pa /etc/hosts
|
||||
.It Pa /etc/host.conf
|
||||
.It Pa /etc/resolv.conf
|
||||
.El
|
||||
.\"
|
||||
.Sh DIAGNOSTICS
|
||||
The function indicates successful completion by a zero return value;
|
||||
a non-zero return value indicates failure.
|
||||
@ -265,6 +258,7 @@ The error code can be found in errno.
|
||||
.Xr gethostbyaddr 3 ,
|
||||
.Xr getservbyport 3 ,
|
||||
.Xr hosts 5 ,
|
||||
.Xr resolv.conf 5 ,
|
||||
.Xr services 5 ,
|
||||
.Xr hostname 7 ,
|
||||
.Xr named 8
|
||||
|
Loading…
Reference in New Issue
Block a user