diff options
author | ru <ru@FreeBSD.org> | 2005-01-20 09:17:07 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2005-01-20 09:17:07 +0000 |
commit | ed72feddcb3cc58c18aff36f4227af3fb11facad (patch) | |
tree | 13c84f0554aefe96321f671bc8860f5e9f184a5a /lib/libc/net/getnameinfo.3 | |
parent | 10aca679734b6819f63019fd7c2ba4e54357c677 (diff) | |
download | FreeBSD-src-ed72feddcb3cc58c18aff36f4227af3fb11facad.zip FreeBSD-src-ed72feddcb3cc58c18aff36f4227af3fb11facad.tar.gz |
Sort sections.
Diffstat (limited to 'lib/libc/net/getnameinfo.3')
-rw-r--r-- | lib/libc/net/getnameinfo.3 | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/libc/net/getnameinfo.3 b/lib/libc/net/getnameinfo.3 index 7965318..5691815 100644 --- a/lib/libc/net/getnameinfo.3 +++ b/lib/libc/net/getnameinfo.3 @@ -187,6 +187,13 @@ Refer to .Xr getaddrinfo 3 for the notation. .\" +.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 get numeric hostname, and service name, for given socket address. @@ -216,13 +223,6 @@ if (getnameinfo(sa, sa->sa_len, hbuf, sizeof(hbuf), NULL, 0, printf("host=%s\\n", hbuf); .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 The function indicates successful completion by a zero return value; a non-zero return value indicates failure. @@ -284,9 +284,6 @@ The error code can be found in errno. .%D June 2000 .Re .\" -.Sh HISTORY -The implementation first appeared in WIDE Hydrangea IPv6 protocol stack kit. -.\" .Sh STANDARDS The .Fn getaddrinfo @@ -296,6 +293,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 Though the current implementation should be thread-safe, using .Fn getnameinfo |