firedns_resolveip4(3)

firedns_resolveip43

Resolve a hostname to an ipv4 address

Usage

#include <firedns.h>
-lfiredns

struct in_addr *firedns_resolveip4(const char * const name)
struct in_addr *firedns_resolveip4_r(const char * const name)

Overview

firedns_resolveip4() attempts to resolve the hostname name to an IPv4 address.

Return value

Returns a pointer to an internal static struct in_addr that contains the IP address of name in binary format, or NULL on error.

Releases

Unchanged in 2 releases since Debian 3.1 (Sarge).

  1. 3.1–4.0

Author

Ian Gulliver <[email protected]>

From libfiredns-dev 0.9.12+dfsg-1 in Debian 4.0 (Etch). Parsed by carta from the page's man source.