提交 36713043 编写于 作者: B Bernard Xiong

Merge branch 'master' of https://github.com/RT-Thread/rt-thread

......@@ -27,6 +27,8 @@
#ifdef RT_USING_LWIP
#include "dfs_lwip.h"
int
select(int maxfdp1, fd_set *readset, fd_set *writeset, fd_set *exceptset,
struct timeval *timeout)
......@@ -70,7 +72,7 @@ select(int maxfdp1, fd_set *readset, fd_set *writeset, fd_set *exceptset,
if (maxfd == 0) return -EBADF;
maxfd += 1;
result = lwip_selscan(maxfd, &sock_readset, &sock_writeset, &sock_exceptset, timeout);
result = lwip_select(maxfd, &sock_readset, &sock_writeset, &sock_exceptset, timeout);
if (readset) FD_ZERO(readset);
if (writeset) FD_ZERO(writeset);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册