summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/gethostbyname.3
diff options
context:
space:
mode:
authorjmc <>2003-05-30 21:37:59 +0000
committerjmc <>2003-05-30 21:37:59 +0000
commit986591b4f6cea288e444153e4adc77d36f27fa67 (patch)
tree5db7d0c66b823e60b008e6ce1115fb50b7ba008e /src/lib/libc/net/gethostbyname.3
parentb696b7e6e3431709a25bed8fdb16c96c42d1074e (diff)
downloadopenbsd-986591b4f6cea288e444153e4adc77d36f27fa67.tar.gz
openbsd-986591b4f6cea288e444153e4adc77d36f27fa67.tar.bz2
openbsd-986591b4f6cea288e444153e4adc77d36f27fa67.zip
- section reorder
- macro cleanup
Diffstat (limited to '')
-rw-r--r--src/lib/libc/net/gethostbyname.332
1 files changed, 16 insertions, 16 deletions
diff --git a/src/lib/libc/net/gethostbyname.3 b/src/lib/libc/net/gethostbyname.3
index d90ea55542..570d939ce2 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.17 2002/04/30 16:31:42 mpech Exp $ 1.\" $OpenBSD: gethostbyname.3,v 1.18 2003/05/30 21:37:59 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.
@@ -215,13 +215,27 @@ will result in an answer;
215for example, a mail-forwarder may be registered for this domain. 215for example, a mail-forwarder may be registered for this domain.
216.El 216.El
217.Sh SEE ALSO 217.Sh SEE ALSO
218.Xr resolver 3 ,
219.Xr getaddrinfo 3 , 218.Xr getaddrinfo 3 ,
220.Xr getnameinfo 3 , 219.Xr getnameinfo 3 ,
220.Xr resolver 3 ,
221.Xr hosts 5 , 221.Xr hosts 5 ,
222.Xr resolv.conf 5 , 222.Xr resolv.conf 5 ,
223.Xr hostname 7 , 223.Xr hostname 7 ,
224.Xr named 8 224.Xr named 8
225.Sh HISTORY
226The
227.Fn herror
228function appeared in
229.Bx 4.3 .
230The
231.Fn endhostent ,
232.Fn gethostbyaddr ,
233.Fn gethostbyname ,
234.Fn gethostent ,
235and
236.Fn sethostent
237functions appeared in
238.Bx 4.2 .
225.Sh CAVEATS 239.Sh CAVEATS
226If the search routines in 240If the search routines in
227.Xr resolv.conf 5 241.Xr resolv.conf 5
@@ -248,20 +262,6 @@ or
248The 262The
249.Fn endhostent 263.Fn endhostent
250function closes the file. 264function closes the file.
251.Sh HISTORY
252The
253.Fn herror
254function appeared in
255.Bx 4.3 .
256The
257.Fn endhostent ,
258.Fn gethostbyaddr ,
259.Fn gethostbyname ,
260.Fn gethostent ,
261and
262.Fn sethostent
263functions appeared in
264.Bx 4.2 .
265.Sh BUGS 265.Sh BUGS
266These functions use static data storage; 266These functions use static data storage;
267if the data is needed for future use, it should be 267if the data is needed for future use, it should be