man firedns_resolvecname (Fonctions bibliothèques) - Resolve the canonical name of a host

NAME

firedns_resolvecname - Resolve the canonical name of a host

SYNOPSIS

#include <firedns.h>

-lfiredns

char *firedns_resolvecname(const char * name)

char *firedns_resolvecname_r(const char * name)

DESCRIPTION

firedns_resolvecname() attempts to resolve the canonical name (CNAME) of name.

RETURN VALUE

Returns a pointer to an internal static char * that contains a CNAME ip, or NULL if there is no such record (indicating that you already have the canonical name of the host).

AUTHOR

Ian Gulliver <ian@penguinhosting.net>

SEE ALSO