Home
last modified time | relevance | path

Searched refs:maxfd (Results 1 – 5 of 5) sorted by relevance

/AliOS-Things-master/components/select/poll/
A Dpoll.c29 static int wait_io(int maxfd, fd_set *rfds, fd_set *wfds, fd_set *efds, struct poll_arg *parg, int … in wait_io() argument
85 static int wait_io(int maxfd, fd_set *rfds, fd_set *wfds, fd_set *efds, struct poll_arg *parg, int … in wait_io() argument
94 maxfd = parg->efd > maxfd ? parg->efd : maxfd; in wait_io()
95 ret = lwip_select(maxfd + 1, rfds, wfds, efds, timeout >= 0 ? &tv : NULL); in wait_io()
118 int maxfd = 0; in pre_poll() local
142 maxfd = pfd->fd > maxfd ? pfd->fd : maxfd; in pre_poll()
151 return maxfd; in pre_poll()
/AliOS-Things-master/components/select/select/
A Dselect.c48 static int wait_io(int maxfd, fd_set *readset, fd_set *writeset, fd_set *exceptset, in wait_io() argument
94 static int wait_io(int maxfd, fd_set *readset, fd_set *writeset, fd_set *exceptset, in wait_io() argument
105 maxfd = parg->efd > maxfd - 1 ? (parg->efd + 1) : maxfd; in wait_io()
107 ret = net_select(maxfd, real_rset, writeset, exceptset, timeout); in wait_io()
240 int aos_select(int maxfd, fd_set *readset, fd_set *writeset, fd_set *exceptset, in aos_select() argument
257 for (i = 0; i < maxfd; i++) { in aos_select()
264 ret = wait_io(maxfd, readset, writeset, exceptset, &parg, timeout); in aos_select()
/AliOS-Things-master/components/select/example/
A Dselect_example.c20 int maxfd; in select_example() local
42 maxfd = test_fd + 1; in select_example()
44 ret = aos_select(maxfd, &readset, &writeset, &exceptset, &tv); in select_example()
48 ret = aos_select(maxfd, &readset, &writeset, &exceptset, &tv); in select_example()
/AliOS-Things-master/components/posix/src/
A Dselect.c7 extern int aos_select(int maxfd, fd_set *readset, fd_set *writeset, fd_set *exceptset,
/AliOS-Things-master/components/select/include/
A Dselect.h18 int aos_select(int maxfd, fd_set *readset, fd_set *writeset, fd_set *exceptset,

Completed in 7 milliseconds