---
name: "firedns_ntoa6"
section: "3"
platform: "linux"
package: "libfiredns-dev"
version: "0.9.12+dfsg-1"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/firedns_ntoa6"
---

# firedns\_ntoa6(3)

convert a binary format IPv6 address to a colon seperated string

## NAME

firedns\_ntoa6 - convert a binary format IPv6 address to a colon seperated string

## SYNOPSIS

**#include \<firedns.h\>**\
 **-lfiredns**

**char \*firedns\_ntoa6(const struct in6\_addr \****ip***)**\
 **char \*firedns\_ntoa6\_r(const struct in6\_addr \****ip***)**\
 **char \*firedns\_ntoa6\_s(const struct in6\_addr \****ip***, char \****result***)**

## DESCRIPTION

firedns\_ntoa6() takes an IPv6 address in binary format in *ip* and returns a *char \** of the IP in human-readable colon seperated format.

## RETURN VALUE

Returns a string containing the IP address in human-readable colon seperated format.

## AUTHOR

Ian Gulliver \<ian@penguinhosting.net\>

## SEE ALSO

[**libfiredns**(3)](/libfiredns/3.md)
