inet_ntop.c: s/socklen_t/ares_socklen_t
[platform/upstream/c-ares.git] / acountry.1
1 .TH ACOUNTRY "1" "April 2011" "c-ares utilities"
2 .SH NAME
3 acountry \- print the country where an IPv4 address or host is located
4 .SH SYNOPSIS
5 .B acountry
6 [\fIOPTION\fR]... \fIHOST\fR...
7 .SH DESCRIPTION
8 .PP
9 .\" Add any additional description here
10 .PP
11 Print the country where HOST (an IPv4 address or hostname) is located,
12 using the countries.nerd.dk DNS domain to identify the country.
13 .PP
14 This utility comes with the \fBc\-ares\fR asynchronous resolver library.
15 .SH OPTIONS
16 .TP
17 \fB\-d\fR
18 Print some extra debugging output.
19 .TP
20 \fB\-h\fR, \fB\-\-help\fR
21 Display this help and exit.
22 .TP
23 \fB\-v\fR
24 Be more verbose. Print extra information.
25 .SH "REPORTING BUGS"
26 Report bugs to the c-ares mailing list:
27 \fBhttp://cool.haxx.se/mailman/listinfo/c-ares\fR
28 .SH "SEE ALSO"
29 .PP
30 adig(1), ahost(1).
31 .PP
32 The DNSBL countries.nerd.dk
33 .br
34 \fBhttp://countries.nerd.dk/\fR
35 .SH COPYRIGHT
36 This utility is based on code/ideas contained in sofware written by Greg Hudson (ares)
37 carrying the following notice:
38 .br
39 Copyright 1998 by the Massachusetts Institute of Technology.
40 .br
41 Permission to use, copy, modify, and distribute this software and its
42 documentation for any purpose and without fee is hereby granted,
43 provided that the above copyright notice appear in all copies and that
44 both that copyright notice and this permission notice appear in
45 supporting documentation, and that the name of M.I.T. not be used in
46 advertising or publicity pertaining to distribution of the software
47 without specific, written prior permission. M.I.T. makes no
48 representations about the suitability of this software for any
49 purpose. It is provided "as is" without express or implied warranty.
50 .br
51 No further copyright claims are being made by the author(s) of this utility.
52 .SH AUTHOR
53 Gisle Vanem