summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2001-08-05 18:57:09 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2001-08-05 18:57:09 +0000
commit4b16df21d17feb899ab9441653c68cfe325063b6 (patch)
tree00ec7d77793b1f7b08eb72bc1bedfad085794175
parent0e6bafdcb921e5dc1af59c266917849b36ef5096 (diff)
there's no no host.conf on openbsd. pointed out by smb
-rw-r--r--lib/libc/net/getaddrinfo.310
-rw-r--r--lib/libc/net/getnameinfo.310
2 files changed, 4 insertions, 16 deletions
diff --git a/lib/libc/net/getaddrinfo.3 b/lib/libc/net/getaddrinfo.3
index cc1831ca5a0..9e811a168dd 100644
--- a/lib/libc/net/getaddrinfo.3
+++ b/lib/libc/net/getaddrinfo.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getaddrinfo.3,v 1.17 2001/06/23 05:57:03 deraadt Exp $
+.\" $OpenBSD: getaddrinfo.3,v 1.18 2001/08/05 18:57:08 itojun Exp $
.\" $KAME: getaddrinfo.3,v 1.29 2001/02/12 09:24:45 itojun Exp $
.\"
.\" Copyright (c) 1983, 1987, 1991, 1993
@@ -478,13 +478,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
@@ -543,6 +536,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
diff --git a/lib/libc/net/getnameinfo.3 b/lib/libc/net/getnameinfo.3
index e21bb94f9b8..45f8950c741 100644
--- a/lib/libc/net/getnameinfo.3
+++ b/lib/libc/net/getnameinfo.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getnameinfo.3,v 1.14 2001/06/23 05:57:03 deraadt Exp $
+.\" $OpenBSD: getnameinfo.3,v 1.15 2001/08/05 18:57:08 itojun Exp $
.\" $KAME: getnameinfo.3,v 1.20 2001/01/05 13:37:37 itojun Exp $
.\"
.\" Copyright (c) 1983, 1987, 1991, 1993
@@ -220,13 +220,6 @@ if (getnameinfo(sa, sa->sa_len, hbuf, sizeof(hbuf), NULL, 0,
printf("host=%s\en", 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.
@@ -259,6 +252,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