firedns_getcname(3)

firedns_getcname3

Create a query to resolve the canonical name of a host

Usage

#include <firedns.h>
-lfiredns

int firedns_getcname(const char *name)

Overview

firedns_getcname() creates and sends a request to resolve the canonical name (CNAME) of name. It returns a file descriptor that should be select(2)'ed upon (read set). When the file descriptor shows ready for reading call firedns_getresult(3) to retrieve the results.

Return value

Returns an integer file descriptor that can be used the same as any other file descriptor. Returns -1 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.