Reference

firedns_resolvename4(3)

Resolve a hostname from an IPv4 address

NAME

firedns_resolvename4 - Resolve a hostname from an IPv4 address

SYNOPSIS

#include <firedns.h>
-lfiredns

char *firedns_resolvename4(const struct in_addr * ip)
char *firedns_resolvename4_r(const struct in_addr * ip)

DESCRIPTION

firedns_resolvename4() attempts to resolve the hostname of the IPv4 address ip.

RETURN VALUE

Returns a pointer to an internal static char * that contains a hostname of ip, or NULL on error.

AUTHOR

Ian Gulliver <[email protected]>

SEE ALSO

libfiredns(3)