firedns.h: always make ipv6 members available in state struct
[rofl0r-firedns.git] / man / firedns_ntoa4.3
bloba35647fd64a49ec5fd43df95a696bef6f9a99fe1
1 .\" (C) 2002 Ian Gulliver
2 .TH firedns_ntoa4 3 2002-03-31
3 .SH NAME
4 firedns_ntoa4 \- convert a binary format IPv4 address to a dotted quad string
5 .SH SYNOPSIS
6 .B #include <firedns.h>
7 .br
8 .B -lfiredns
9 .LP
10 .BI "char *firedns_ntoa4(const struct in_addr *" "ip" ")"
11 .br
12 .BI "char *firedns_ntoa4_r(const struct in_addr *" "ip" ")"
13 .br
14 .BI "char *firedns_ntoa4_s(const struct in_addr *" "ip" ", char *" "result" ")"
15 .SH DESCRIPTION
16 firedns_ntoa4() takes an IPv4 address in binary format in
17 .I ip
18 and returns a
19 .I char *
20 of the IP in human-readable dotted quad format.
21 .SH RETURN VALUE
22 Returns a string containing the IP address in human-readable dotted quad format.
23 .SH AUTHOR
24 Ian Gulliver <ian@penguinhosting.net>
25 .SH SEE ALSO
26 .BR libfiredns (3)