summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/getaddrinfo.3
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-01-20 09:17:07 +0000
committerru <ru@FreeBSD.org>2005-01-20 09:17:07 +0000
commited72feddcb3cc58c18aff36f4227af3fb11facad (patch)
tree13c84f0554aefe96321f671bc8860f5e9f184a5a /lib/libc/net/getaddrinfo.3
parent10aca679734b6819f63019fd7c2ba4e54357c677 (diff)
downloadFreeBSD-src-ed72feddcb3cc58c18aff36f4227af3fb11facad.zip
FreeBSD-src-ed72feddcb3cc58c18aff36f4227af3fb11facad.tar.gz
Sort sections.
Diffstat (limited to 'lib/libc/net/getaddrinfo.3')
-rw-r--r--lib/libc/net/getaddrinfo.320
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/libc/net/getaddrinfo.3 b/lib/libc/net/getaddrinfo.3
index e44a947..e72fb25 100644
--- a/lib/libc/net/getaddrinfo.3
+++ b/lib/libc/net/getaddrinfo.3
@@ -397,6 +397,13 @@ The current implementation assumes a one-to-one relationship between
interfaces and links, which is not necessarily true according to the
specification.
.\"
+.Sh FILES
+.Bl -tag -width /etc/nsswitch.conf -compact
+.It Pa /etc/hosts
+.It Pa /etc/nsswitch.conf
+.It Pa /etc/resolv.conf
+.El
+.\"
.Sh EXAMPLES
The following code tries to connect to
.Dq Li www.kame.net
@@ -504,13 +511,6 @@ if (nsock == 0) {
freeaddrinfo(res0);
.Ed
.\"
-.Sh FILES
-.Bl -tag -width /etc/nsswitch.conf -compact
-.It Pa /etc/hosts
-.It Pa /etc/nsswitch.conf
-.It Pa /etc/resolv.conf
-.El
-.\"
.Sh DIAGNOSTICS
Error return status from
.Fn getaddrinfo
@@ -606,9 +606,6 @@ indicate an unknown error.
.%D June 2000
.Re
.\"
-.Sh HISTORY
-The implementation first appeared in WIDE Hydrangea IPv6 protocol stack kit.
-.\"
.Sh STANDARDS
The
.Fn getaddrinfo
@@ -618,6 +615,9 @@ and documented in
.Dq Basic Socket Interface Extensions for IPv6
(RFC2553).
.\"
+.Sh HISTORY
+The implementation first appeared in WIDE Hydrangea IPv6 protocol stack kit.
+.\"
.Sh BUGS
Although the current implementation is otherwise thread-safe, using
.Fn getaddrinfo
OpenPOWER on IntegriCloud