go to
> ares_fds(3)
> ares_process(3)
Homepage > Man Pages > Category > Subroutines
Homepage > Man Pages > Name > A


man page of ares_fds

ares_fds: Get file descriptors to select on for name service

ares_fds - Get file descriptors to select on for name service
#include <ares.h> struct timeval *ares_timeout(ares_channel channel, struct timeval *maxtv, struct timeval *tv)


The ares_timeout function determines the maximum time for which the caller should wait before invoking ares_process(3) to process timeouts. The parameter maxtv specifies a existing maximum timeout, or NULL if the caller does not wish to apply a maximum timeout. The parameter tv must point to a writable buffer of type struct timeval. It is valid for maxtv and tv to have the same value. If no queries have timeouts pending sooner than the given maximum timeout, ares_timeout returns the value of maxtv; otherwise ares_timeout stores the appropriate timeout value into the buffer pointed to by tv and returns the value of tv.


ares_fds(3), ares_process(3)


Greg Hudson, MIT Information Systems Copyright 1998 by the Massachusetts Institute of Technology. 25 July 1998 ARES_FDS(3)

Copyright © 2011–2018 by topics-of-interest.com . All rights reserved. Hosted by all-inkl.
Contact · Imprint · Privacy

Page generated in 14.24ms.

Für Ihre Site | dfptutorial.com | adsenseexperts.com