Home
last modified time | relevance | path

Searched refs:fdset (Results 1 – 7 of 7) sorted by relevance

/external/libvncserver/examples/
D1instance.c51 fd_set fdset; in get_next_message() local
54 FD_ZERO(&fdset); in get_next_message()
55 FD_SET(str->fd,&fdset); in get_next_message()
59 num_fds=select(str->fd+1,&fdset,NULL,NULL,&tv); in get_next_message()
/external/curl/lib/
Dwarnless.c498 int curlx_FD_ISSET(int fd, fd_set *fdset) in curlx_FD_ISSET() argument
502 return FD_ISSET(fd, fdset); in curlx_FD_ISSET()
506 void curlx_FD_SET(int fd, fd_set *fdset) in curlx_FD_SET() argument
510 FD_SET(fd, fdset); in curlx_FD_SET()
514 void curlx_FD_ZERO(fd_set *fdset) in curlx_FD_ZERO() argument
518 FD_ZERO(fdset); in curlx_FD_ZERO()
Dwarnless.h88 int curlx_FD_ISSET(int fd, fd_set *fdset);
90 void curlx_FD_SET(int fd, fd_set *fdset);
92 void curlx_FD_ZERO(fd_set *fdset);
/external/syslinux/gpxe/src/util/
Dhijack.c299 fd_set fdset; in run_hijacker() local
314 FD_ZERO ( &fdset ); in run_hijacker()
315 FD_SET ( fd, &fdset ); in run_hijacker()
316 FD_SET ( hijack.fd, &fdset ); in run_hijacker()
317 if ( select ( ( max_fd + 1 ), &fdset, NULL, NULL, 0 ) < 0 ) { in run_hijacker()
322 if ( FD_ISSET ( fd, &fdset ) ) { in run_hijacker()
329 if ( FD_ISSET ( hijack.fd, &fdset ) ) { in run_hijacker()
/external/syslinux/gpxe/src/arch/i386/interface/pxe/
Dpxe_file.c115 fd_set fdset; in pxenv_file_select() local
120 FD_ZERO ( &fdset ); in pxenv_file_select()
121 FD_SET ( file_select->FileHandle, &fdset ); in pxenv_file_select()
122 if ( ( ready = select ( &fdset, 0 ) ) < 0 ) { in pxenv_file_select()
/external/curl/tests/libtest/
Dlib582.c188 static void updateFdSet(struct Sockets* sockets, fd_set* fdset, in updateFdSet() argument
193 FD_SET(sockets->sockets[i], fdset); in updateFdSet()
214 static void checkFdSet(CURLM *curl, struct Sockets *sockets, fd_set *fdset, in checkFdSet() argument
219 if(FD_ISSET(sockets->sockets[i], fdset)) { in checkFdSet()
/external/mksh/src/
Dfuncs.c1724 fd_set fdset; in c_read() local
1726 FD_ZERO(&fdset); in c_read()
1727 FD_SET((unsigned int)fd, &fdset); in c_read()
1736 switch (select(fd + 1, &fdset, NULL, NULL, &tv)) { in c_read()