firedns_getresult man page on DragonFly
[printable version]
firedns_getresult(3) firedns_getresult(3)
NAME
firedns_getresult - Retrieve a result from a previous FireDNS query
SYNOPSIS
#include <firedns.h>
-lfiredns
char *firedns_getresult(const int fd)
char *firedns_getresult_r(const int fd)
char *firedns_getresult_s(const int fd, char *result)
DESCRIPTION
firedns_getresult() returns the result for the request identified by
the file descriptor fd. It returns NULL if there has been no response
to the request or the response indicates failure.
RETURN VALUE
Returns NULL on failure, or a pointer to the result. The return value
is meant to be cast depending upon the initial request made.
Casts:
firedns_getip4() - (struct in_addr *)
firedns_getip4list() - (struct firedns_ip4list *) /* linked list
*/
firedns_getip6() - (struct in6_addr *)
firedns_getip6list() - (struct firedns_ip6list *) /* linked list
*/
firedns_gettxt() - (char *)
firedns_gettxtlist() - (struct firedns_txtlist *) /* linked list
*/
firedns_getmx() - (char *)
firedns_getmxlist() - (struct firedns_mxlist *) /* linked list
*/
firedns_getname4() - (char *)
firedns_getname6() - (char *)
firedns_getcname() - (char *)
AUTHOR
Ian Gulliver <ian@penguinhosting.net>
SEE ALSO
libfiredns(3), firedns_getip4(3), firedns_getip6(3), firedns_gettxt(3),
firedns_getmx(3), firedns_getmxlist(3), firedns_getname4(3),
firedns_getname6(3)
2004-02-12 firedns_getresult(3)
[top]
List of man pages available for DragonFly
Copyright (c) for man pages and the logo by the respective OS vendor.
For those who want to learn more, the polarhome community provides shell access and support.
[legal]
[privacy]
[GNU]
[policy]
[cookies]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
|
Vote for polarhome
|