Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
firedns_getmxlist(3)	   Library Functions Manual	  firedns_getmxlist(3)

NAME
       firedns_getmxlist  -  Create  a query to	resolve	a hostname's MX	record
       list

SYNOPSIS
       #include	<firedns.h>
       -lfiredns

       int firedns_getmxlist(const char	* const	name)

DESCRIPTION
       firedns_getmxlist() creates and sends  a	 request  to  resolve  the  MX
       records	of  name.   It	returns	 a  file descriptor that should	be se-
       lect(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.

AUTHOR
       Ian Gulliver <ian@penguinhosting.net>

SEE ALSO
       libfiredns(3), firedns_getresult(3), select(2)

				  2003-07-29		  firedns_getmxlist(3)

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | AUTHOR | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=firedns_getmxlist&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help