HomeSort by: relevance | last modified time | path
    Searched refs:F_SETFL (Results 1 - 25 of 52) sorted by relevancy

1 2 3

  /src/lib/libc/compat/sys/
compat_dup3.c 57 e = fcntl(newfd, F_SETFL, e);
  /src/usr.sbin/tpctl/
tp.c 80 if (fcntl(tp->fd, F_SETFL, flags) < 0)
main.c 396 if (fcntl(fd, F_SETFL, flg | O_NONBLOCK) == -1)
400 fcntl(fd, F_SETFL, flg);
  /src/tests/lib/librumpclient/
t_fd.c 121 RL(rump_sys_fcntl(ls, F_SETFL, fl | O_ASYNC));
  /src/lib/libutil/
ttymsg.c 186 (void)fcntl(fd, F_SETFL, 0); /* clear O_NONBLOCK */
  /src/libexec/lfs_cleanerd/
cleansrv.c 216 fcntl(control_socket, F_SETFL, flags);
  /src/regress/sys/kern/select/
select.c 193 if (fcntl(fds[i][0], F_SETFL, O_NONBLOCK) == -1) {
  /src/sys/kern/
sys_descrip.c 438 case F_SETFL:
441 error = (*fp->f_ops->fo_fcntl)(fp, F_SETFL, &tmp);
449 (*fp->f_ops->fo_fcntl)(fp, F_SETFL,
463 (*fp->f_ops->fo_fcntl)(fp, F_SETFL,
  /src/tests/net/icmp/
t_ping.c 181 RL(rump_sys_fcntl(s, F_SETFL, x));
194 RL(rump_sys_fcntl(s, F_SETFL, xnon));
  /src/tests/net/net/
t_tcp.c 194 ok = fcntl(srvr, F_SETFL, fl & ~O_NONBLOCK);
234 ok = fcntl(acpt, F_SETFL, fl & ~O_NONBLOCK);
  /src/sbin/efi/
utils.c 412 if (fcntl(fd, F_SETFL, O_NONBLOCK | fd_flags) == -1)
413 err(EXIT_FAILURE, "fcntl F_SETFL");
461 fcntl(fd, F_SETFL, fd_flags);
  /src/lib/libedit/
readline.c 2277 #elif defined(F_SETFL) && defined(O_NDELAY)
2280 if (fcntl(el->el_infd, F_SETFL, n|O_NDELAY) < 0)
2283 if (fcntl(el->el_infd, F_SETFL, n))
read.c 172 #if defined(F_SETFL) && defined(O_NDELAY)
176 if (fcntl(fd, F_SETFL, e & ~O_NDELAY) == -1)
180 #endif /* F_SETFL && O_NDELAY */
  /src/tests/kernel/
t_pty.c 182 if (fcntl(fd, F_SETFL, opt | O_NONBLOCK) == -1)
  /src/usr.bin/ktrace/
ktrace.c 278 if (fcntl(fd, F_SETFL, oflag & ~flag) == -1)
  /src/tests/lib/libcurses/director/
director.c 275 fcntl(master, F_SETFL, O_NONBLOCK);
  /src/sys/sys/
fcntl.h 150 /* bits settable by fcntl(F_SETFL, ...) */
188 #define F_SETFL 4 /* set file status flags */
  /src/tests/lib/libc/sys/
t_poll.c 510 RL(fcntl(writefd, F_SETFL, flags|O_NONBLOCK));
514 RL(fcntl(writefd, F_SETFL, flags));
527 RL(fcntl(writefd, F_SETFL, flags|O_NONBLOCK));
534 RL(fcntl(writefd, F_SETFL, flags));
545 RL(fcntl(readfd, F_SETFL, flags|O_NONBLOCK));
550 RL(fcntl(readfd, F_SETFL, flags));
t_stat.c 344 ATF_REQUIRE(fcntl(fd, F_SETFL, flags | O_NONBLOCK) != -1);
  /src/sbin/routed/
main.c 301 if (fcntl(rt_sock, F_SETFL, O_NONBLOCK) == -1)
610 if (fcntl(sock, F_SETFL, O_NONBLOCK) == -1)
  /src/usr.bin/ftp/
ssl.c 655 if (fcntl(sock, F_SETFL, flags | O_NONBLOCK) == -1) {
707 if (fcntl(sock, F_SETFL, flags) == -1) {
  /src/usr.sbin/perfused/
perfused.c 280 if (fcntl(fd, F_SETFL, flags|O_NONBLOCK) != 0)
  /src/sys/arch/usermode/usermode/
thunk.c 458 return fcntl(STDIN_FILENO, F_SETFL, flags);
1071 if (fcntl(fd, F_SETFL, flags | O_NONBLOCK) < 0) {
1374 fcntl(rfb->clientfd, F_SETFL, flags | O_ASYNC);
  /src/games/hunt/huntd/
answer.c 135 (void) fcntl(newsock, F_SETFL, flags);
  /src/usr.bin/bthset/
bthset.c 478 if (fcntl(mx, F_SETFL, O_ASYNC) < 0)

Completed in 35 milliseconds

1 2 3