firedns_aton43
Convert a dotted quad ipv4 address to binary format
Usage
#include <firedns.h>
-lfiredns
struct in_addr *firedns_aton4(const char * const ipstring)
struct in_addr *firedns_aton4_r(const char * const ipstring)
struct in_addr *firedns_aton4_s(const char * const ipstring, struct in_addr *ip)
Overview
firedns_aton4() takes an IPv4 address in dotted quad notation in ipstring and returns a struct in_addr containing the address in binary format.
Return value
Returns a struct in_addr containing the IP address in binary form, or NULL if ipstring is not a valid IP.
Releases
Unchanged in 2 releases since Debian 3.1 (Sarge).