summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authoritojun <itojun@openbsd.org>2001-08-05 18:57:08 +0000
committeritojun <itojun@openbsd.org>2001-08-05 18:57:08 +0000
commit329476c825f2cf3bd112684bd62c963788dc3524 (patch)
treed21fa4cfe9be7e7c3998ac4553997e155e1c7c70 /lib/libc
parentDo not have dl_find_symbol complain about symbols not found, code immediately (diff)
downloadwireguard-openbsd-329476c825f2cf3bd112684bd62c963788dc3524.tar.xz
wireguard-openbsd-329476c825f2cf3bd112684bd62c963788dc3524.zip
there's no no host.conf on openbsd. pointed out by smb
Diffstat (limited to 'lib/libc')
-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