firedns_resolveip4(3)

NAME

firedns_resolveip4 - Resolve a hostname to an IPv4 address

SYNOPSIS

#include <firedns.h>
-lfiredns
struct  in_addr  *firedns_resolveip4(const  char  *  const
name)
struct in_addr *firedns_resolveip4_r(const  char  *  const
name)

DESCRIPTION

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.

AUTHOR

Ian Gulliver <ian@penguinhosting.net>

SEE ALSO

libfiredns(3)
2002-03-31
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout