mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-21 09:31:59 +00:00
parent
b2f7a6a934
commit
526680e977
@ -61,6 +61,11 @@ poll(struct pollfd fds[], nfds_t nfds, int timeout)
|
||||
}
|
||||
|
||||
/* populate event bit vectors for the events we're interested in */
|
||||
|
||||
FD_ZERO(&readfds);
|
||||
FD_ZERO(&writefds);
|
||||
FD_ZERO(&exceptfds);
|
||||
|
||||
for (i = 0; i < nfds; i++) {
|
||||
fd = fds[i].fd;
|
||||
if (fd == -1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user