gpt4 book ai didi

c - curl_multi_fdset() 中的 exc_fd_set 是什么?

转载 作者:太空宇宙 更新时间:2023-11-04 01:29:01 24 4
gpt4 key购买 nike

Curl 的 curl_multi_fdset 函数具有以下声明:

CURLMcode curl_multi_fdset(CURLM *multi_handle,
fd_set *read_fd_set,
fd_set *write_fd_set,
fd_set *exc_fd_set,
int *max_fd);

Curl 文档没有解释exc_fd_set 的含义。 exc_fd_set 是什么意思?

最佳答案

我刚刚更新了 curl_multi_fdset()手册页以更好地解释参数的实际用途:

If the read_fd_set argument is not a null pointer, it points to an object of type fd_set that on returns specifies the file descriptors to be checked for being ready to read.

If the write_fd_set argument is not a null pointer, it points to an object of type fd_set that on return specifies the file descriptors to be checked for being ready to write.

If the exc_fd_set argument is not a null pointer, it points to an object of type fd_set that on return specifies the file descriptors to be checked for error conditions pending.

关于c - curl_multi_fdset() 中的 exc_fd_set 是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26274257/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com