Home
last modified time | relevance | path

Searched refs:wset (Results 1 – 10 of 10) sorted by path

/freebsd/bin/stty/
H A Dkey.c151 ip->wset = 1; in f_columns()
245 ip->wset = 1; in f_rows()
H A Dstty.c106 for (i.set = i.wset = 0; *argv; ++argv) { in main()
140 if (i.wset && ioctl(i.fd, TIOCSWINSZ, &i.win) < 0) in main()
H A Dstty.h38 int wset; /* need window set */ member
/freebsd/contrib/capsicum-test/
H A Dcapability-fd.cc601 fd_set wset; in TryFileOps() local
602 FD_ZERO(&wset); in TryFileOps()
603 FD_SET(cap_fd, &wset); in TryFileOps()
604 ret = select(cap_fd+1, &rset, &wset, NULL, &tv); in TryFileOps()
H A Dselect.cc58 fd_set wset; variable
61 InitFDSet(&wset, cap_fd, kCapCount);
63 int ret = select(maxfd+1, &rset, &wset, NULL, &tv);
70 InitFDSet(&wset, cap_fd, kCapCount);
71 AddFDToSet(&wset, fd, maxfd);
72 AddFDToSet(&wset, cap_rw, maxfd);
73 ret = select(maxfd+1, &rset, &wset, NULL, &tv);
83 InitFDSet(&wset, cap_fd, kCapCount);
91 InitFDSet(&wset, cap_fd, kCapCount);
92 AddFDToSet(&wset, fd, maxfd);
[all …]
/freebsd/contrib/libbegemot/
H A Drpoll.c177 static fd_set rset, wset, xset; /* file descriptor sets for select() */ variable
345 FD_ZERO(&wset); in poll_build()
355 FD_SET(p->fd, &wset); in poll_build()
544 nwset = wset; in poll_dispatch()
/freebsd/contrib/ntp/ntpd/
H A Drefclock_gpsdjson.c2002 fd_set wset; in gpsd_test_socket() local
2005 FD_ZERO(&wset); in gpsd_test_socket()
2006 FD_SET(up->fdt, &wset); in gpsd_test_socket()
2007 rc = select(up->fdt+1, NULL, &wset, NULL, &tout); in gpsd_test_socket()
2008 if (0 == rc || !(FD_ISSET(up->fdt, &wset))) in gpsd_test_socket()
/freebsd/contrib/tnftp/src/
H A Dutil.c1485 fd_set rset, wset, xset; in ftp_poll()
1493 FD_ZERO(&wset); in ftp_poll()
1506 FD_SET(fds[i].fd, &wset); in ftp_poll()
1522 rv = select(max + 1, &rset, &wset, &xset, ptv); in ftp_poll()
1529 if (FD_ISSET(fds[i].fd, &wset)) in ftp_poll()
/freebsd/contrib/unbound/smallapp/
H A Dunbound-control.c671 fd_set rset, wset, eset; in contact_server() local
675 FD_ZERO(&wset); in contact_server()
676 FD_SET(FD_SET_T fd, &wset); in contact_server()
681 if(select(fd+1, &rset, &wset, &eset, &tv) == -1) { in contact_server()
684 if(!FD_ISSET(fd, &rset) && !FD_ISSET(fd, &wset) && in contact_server()
/freebsd/tools/test/stress2/misc/
H A Dsendfile2.sh85 fd_set wset;
117 FD_ZERO(&wset);
118 FD_SET(s, &wset);
119 n = select(f+1, NULL, &wset, NULL, NULL);