firedns_aton4(3)

NAME

firedns_aton4 - convert a dotted quad IPv4 address to bi
nary format

SYNOPSIS

#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)

DESCRIPTION

firedns_aton4() takes an IPv4 address in dotted quad nota
tion in ipstring and returns a struct in_addr containing the ad
dress in binary format.

RETURN VALUE

Returns a struct in_addr containing the IP address in bi
nary form, or NULL if ipstring is not a valid IP.

AUTHOR

Ian Gulliver <ian@penguinhosting.net>

SEE ALSO

libfiredns(3)
2002-03-31
Copyright © 2010-2025 Platon Technologies, s.r.o.           Index | Man stránky | tLDP | Dokumenty | Utilitky | O projekte
Design by styleshout