GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
ARES_TIMEOUT(3) FreeBSD Library Functions Manual ARES_TIMEOUT(3)

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 *tvbuf)

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 tvbuf must point to a writable buffer of type struct timeval. It is valid for maxtv and tvbuf 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 tvbuf and returns the value of tvbuf.

ares_fds(3), ares_process(3)

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

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.