ares_timeout.txt

来自「RTL-lwIP is the porting of the lwIP TCP/」· 文本 代码 · 共 37 行

TXT
37
字号
ARES_TIMEOUT(3)                                                ARES_TIMEOUT(3)NAME       ares_fds - Get file descriptors to select on for name serviceSYNOPSIS       #include <ares.h>       struct timeval *ares_timeout(ares_channel channel,       struct timeval *maxtv, struct timeval *tvbuf)DESCRIPTION       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 time-       out,  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.SEE ALSO       ares_fds(3), ares_process(3)AUTHOR       Greg Hudson, MIT Information Systems       Copyright 1998 by the Massachusetts Institute of Technology.                                 25 July 1998                  ARES_TIMEOUT(3)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?