Home
last modified time | relevance | path

Searched refs:exceptfds (Results 1 – 17 of 17) sorted by relevance

/trueos/crypto/openssh/openbsd-compat/
HDbsd-poll.c47 fd_set *readfds = NULL, *writefds = NULL, *exceptfds = NULL; in poll() local
63 (exceptfds = calloc(nmemb, sizeof(fd_mask))) == NULL) { in poll()
76 FD_SET(fd, exceptfds); in poll()
80 FD_SET(fd, exceptfds); in poll()
91 ret = select(maxfd + 1, readfds, writefds, exceptfds, tvp); in poll()
106 if (FD_ISSET(fd, exceptfds)) { in poll()
114 free(exceptfds); in poll()
/trueos/usr.sbin/faithd/
HDtcp.c60 static fd_set readfds, writefds, exceptfds; variable
163 FD_SET(s_rcv, &exceptfds); in send_data()
205 FD_ZERO(&exceptfds); in relay()
207 oreadfds = readfds; owritefds = writefds; oexceptfds = exceptfds; in relay()
211 FD_SET(s_rcv, &exceptfds); in relay()
220 oexceptfds = exceptfds; in relay()
221 error = select(maxfd + 1, &readfds, &writefds, &exceptfds, &tv); in relay()
229 exceptfds = oexceptfds; in relay()
237 if (FD_ISSET(s_rcv, &exceptfds)) { in relay()
246 FD_CLR(s_rcv, &exceptfds); in relay()
/trueos/contrib/libreadline/
HDinput.c181 fd_set readfds, exceptfds; in rl_gather_tyi() local
190 FD_ZERO (&exceptfds); in rl_gather_tyi()
192 FD_SET (tty, &exceptfds); in rl_gather_tyi()
195 result = select (tty + 1, &readfds, (fd_set *)NULL, &exceptfds, &timeout); in rl_gather_tyi()
293 fd_set readfds, exceptfds; in _rl_input_available() local
305 FD_ZERO (&exceptfds); in _rl_input_available()
307 FD_SET (tty, &exceptfds); in _rl_input_available()
310 return (select (tty + 1, &readfds, (fd_set *)NULL, &exceptfds, &timeout) > 0); in _rl_input_available()
/trueos/lib/libkse/thread/
HDthr_select.c47 fd_set *exceptfds, struct timeval *timeout);
52 __select(int numfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, in __select() argument
64 ret = __sys_select(numfds, readfds, writefds, exceptfds, timeout); in __select()
/trueos/tools/regression/sockets/zerosend/
HDzerosend.c117 fd_set writefds, exceptfds; in setup_tcp() local
168 FD_ZERO(&exceptfds); in setup_tcp()
169 FD_SET(sock2, &exceptfds); in setup_tcp()
172 ret = select(sock2 + 1, NULL, &writefds, &exceptfds, &tv); in setup_tcp()
175 if (FD_ISSET(sock2, &exceptfds)) in setup_tcp()
/trueos/contrib/gdb/gdb/
HDser-unix.c904 fd_set readfds, exceptfds; in ser_unix_wait_for() local
914 FD_ZERO (&exceptfds); in ser_unix_wait_for()
916 FD_SET (scb->fd, &exceptfds); in ser_unix_wait_for()
919 numfds = select (scb->fd + 1, &readfds, 0, &exceptfds, &tv); in ser_unix_wait_for()
921 numfds = select (scb->fd + 1, &readfds, 0, &exceptfds, 0); in ser_unix_wait_for()
/trueos/tests/sys/fifo/
HDfifo_io.c887 struct fd_set readfds, writefds, exceptfds; in select_status() local
892 FD_ZERO(&exceptfds); in select_status()
895 FD_SET(fd, &exceptfds); in select_status()
898 if (select(fd+1, &readfds, &writefds, &exceptfds, &timeout) < 0) { in select_status()
904 *exception = FD_ISSET(fd, &exceptfds) ? 1 : 0; in select_status()
/trueos/contrib/ofed/libsdp/src/
HDport.c145 fd_set * exceptfds, struct timeval * timeout);
150 fd_set * exceptfds,
1995 fd_set * writefds, fd_set * exceptfds, struct timeval *timeout) in select() argument
2015 ret = _socket_funcs.select(n, readfds, writefds, exceptfds, timeout); in select()
2046 &new_fds, writefds, exceptfds, timeout); in select()
2088 fd_set * exceptfds, in pselect() argument
2110 _socket_funcs.pselect(n, readfds, writefds, exceptfds, timeout, in pselect()
2142 &new_fds, writefds, exceptfds, in pselect()
/trueos/lib/libthr/thread/
HDthr_syscalls.c467 __thr_select(int numfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, in __thr_select() argument
475 ret = __sys_select(numfds, readfds, writefds, exceptfds, timeout); in __thr_select()
/trueos/sys/i386/linux/
HDlinux_machdep.c94 l_fd_set *exceptfds; member
306 newsel.exceptfds = linux_args.exceptfds; in linux_old_select()
HDlinux_systrace_args.c995 uarg[3] = (intptr_t) p->exceptfds; /* l_fd_set * */ in systrace_args()
HDlinux_proto.h459 char exceptfds_l_[PADL_(l_fd_set *)]; l_fd_set * exceptfds; char exceptfds_r_[PADR_(l_fd_set *)]; member
/trueos/sys/amd64/linux32/
HDlinux32_machdep.c80 l_uintptr_t exceptfds; member
415 newsel.exceptfds = PTRIN(linux_args.exceptfds); in linux_old_select()
HDlinux32_systrace_args.c957 uarg[3] = (intptr_t) p->exceptfds; /* l_fd_set * */ in systrace_args()
HDlinux32_proto.h453 char exceptfds_l_[PADL_(l_fd_set *)]; l_fd_set * exceptfds; char exceptfds_r_[PADR_(l_fd_set *)]; member
/trueos/sys/compat/linux/
HDlinux_misc.c489 (void *)args->exceptfds, (void *)args->timeout); in linux_select()
527 args->exceptfds, tvp, sizeof(l_int) * 8); in linux_select()
/trueos/contrib/tnftp/
HDChangeLog424 POLLWRNORM, and POLLRDBAND - the latter using exceptfds.