summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/gethostbyname.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/net/gethostbyname.3')
-rw-r--r--src/lib/libc/net/gethostbyname.312
1 files changed, 4 insertions, 8 deletions
diff --git a/src/lib/libc/net/gethostbyname.3 b/src/lib/libc/net/gethostbyname.3
index 206750a2c3..304f314099 100644
--- a/src/lib/libc/net/gethostbyname.3
+++ b/src/lib/libc/net/gethostbyname.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: gethostbyname.3,v 1.26 2013/06/05 03:39:23 tedu Exp $ 1.\" $OpenBSD: gethostbyname.3,v 1.27 2014/08/23 07:25:54 jmc Exp $
2.\" 2.\"
3.\" Copyright (c) 1983, 1987, 1991, 1993 3.\" Copyright (c) 1983, 1987, 1991, 1993
4.\" The Regents of the University of California. All rights reserved. 4.\" The Regents of the University of California. All rights reserved.
@@ -27,7 +27,7 @@
27.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28.\" SUCH DAMAGE. 28.\" SUCH DAMAGE.
29.\" 29.\"
30.Dd $Mdocdate: June 5 2013 $ 30.Dd $Mdocdate: August 23 2014 $
31.Dt GETHOSTBYNAME 3 31.Dt GETHOSTBYNAME 3
32.Os 32.Os
33.Sh NAME 33.Sh NAME
@@ -67,10 +67,7 @@ and
67.Fn gethostbyaddr 67.Fn gethostbyaddr
68functions each return a pointer to an object with the following structure 68functions each return a pointer to an object with the following structure
69describing an Internet host referenced by name or by address, respectively. 69describing an Internet host referenced by name or by address, respectively.
70This structure contains either information obtained from the name server (i.e., 70This structure contains either information obtained from a name server,
71.Xr resolver 3
72and
73.Xr named 8 ) ,
74broken-out fields from a line in 71broken-out fields from a line in
75.Pa /etc/hosts , 72.Pa /etc/hosts ,
76or database entries supplied by the 73or database entries supplied by the
@@ -241,8 +238,7 @@ The function completed successfully.
241.Xr resolver 3 , 238.Xr resolver 3 ,
242.Xr hosts 5 , 239.Xr hosts 5 ,
243.Xr resolv.conf 5 , 240.Xr resolv.conf 5 ,
244.Xr hostname 7 , 241.Xr hostname 7
245.Xr named 8
246.Sh HISTORY 242.Sh HISTORY
247The 243The
248.Fn herror 244.Fn herror