| /src/sys/external/bsd/libnv/dist/ |
| common_impl.h | 39 #define fd_is_valid(fd) (fcntl((fd), F_GETFL) != -1 || errno != EBADF)
|
| /src/tests/kernel/ |
| h_cloexec.c | 43 if (fcntl(fd, F_GETFL, &flags) == 0)
|
| t_pty.c | 180 if ((opt = fcntl(fd, F_GETFL, NULL)) == -1)
|
| /src/tests/lib/libc/sys/ |
| t_socketpair.c | 100 ATF_REQUIRE((fcntl(fd[0], F_GETFL) & O_NONBLOCK) != 0); 101 ATF_REQUIRE((fcntl(fd[1], F_GETFL) & O_NONBLOCK) != 0); 103 ATF_REQUIRE((fcntl(fd[0], F_GETFL) & O_NONBLOCK) == 0); 104 ATF_REQUIRE((fcntl(fd[1], F_GETFL) & O_NONBLOCK) == 0);
|
| t_pipe2.c | 88 ATF_REQUIRE((fcntl(fd[0], F_GETFL) & O_NONBLOCK) != 0); 89 ATF_REQUIRE((fcntl(fd[1], F_GETFL) & O_NONBLOCK) != 0); 91 ATF_REQUIRE((fcntl(fd[0], F_GETFL) & O_NONBLOCK) == 0); 92 ATF_REQUIRE((fcntl(fd[1], F_GETFL) & O_NONBLOCK) == 0);
|
| t_select.c | 227 if (fcntl(fd, F_GETFL) != -1 || errno != EBADF)
|
| t_eventfd.c | 792 ATF_REQUIRE((fcntl(efd, F_GETFL) & O_NONBLOCK) == 0); 794 ATF_REQUIRE((fcntl(efd, F_GETFL) & O_NONBLOCK) != 0); 807 ATF_REQUIRE((fcntl(efd, F_GETFL) & ~O_ACCMODE) == O_NONBLOCK);
|
| t_stat.c | 341 flags = fcntl(fd, F_GETFL);
|
| t_timerfd.c | 772 ATF_REQUIRE((fcntl(tfd, F_GETFL) & O_NONBLOCK) == 0); 774 ATF_REQUIRE((fcntl(tfd, F_GETFL) & O_NONBLOCK) != 0); 787 ATF_REQUIRE((fcntl(tfd, F_GETFL) & ~O_ACCMODE) == O_NONBLOCK);
|
| /src/lib/libc/compat/sys/ |
| compat_dup3.c | 53 int e = fcntl(newfd, F_GETFL, 0);
|
| /src/lib/libc/stdio/ |
| fdopen.c | 87 if ((fdflags = fcntl(fd, F_GETFL, 0)) < 0)
|
| vdprintf.c | 82 if ((fdflags = fcntl(fd, F_GETFL, 0)) == -1)
|
| /src/tests/net/net/ |
| t_tcp.c | 190 fl = fcntl(srvr, F_GETFL, 0); 227 fl = fcntl(acpt, F_GETFL, 0); 238 fl = fcntl(acpt, F_GETFL, 0);
|
| /src/usr.sbin/tpctl/ |
| tp.c | 76 flags = fcntl(tp->fd, F_GETFL);
|
| main.c | 394 if ((flg = fcntl(fd, F_GETFL)) == -1)
|
| /src/tests/lib/librumpclient/ |
| t_fd.c | 120 RL(fl = rump_sys_fcntl(ls, F_GETFL));
|
| /src/libexec/lfs_cleanerd/ |
| cleansrv.c | 214 flags = fcntl(control_socket, F_GETFL, NULL);
|
| /src/tests/lib/libc/ttyio/ |
| t_ptm.c | 187 ATF_CHECK_EQ(O_RDWR|O_NONBLOCK, fcntl(fdm, F_GETFL));
|
| /src/usr.bin/ktrace/ |
| ktrace.c | 274 int oflag = fcntl(fd, F_GETFL, 0);
|
| /src/sys/sys/ |
| fcntl.h | 187 #define F_GETFL 3 /* get file status flags */
|
| /src/bin/ksh/ |
| io.c | 316 if ((fl = fcntl(fd = name[0] - '0', F_GETFL, 0)) < 0) {
|
| /src/lib/libc/gen/ |
| xsyslog.c | 86 if (data->log_file == -1 || fcntl(data->log_file, F_GETFL, 0) == -1) {
|
| /src/tests/net/icmp/ |
| t_ping.c | 155 RL(x = rump_sys_fcntl(s, F_GETFL, 0));
|
| /src/usr.sbin/perfused/ |
| perfused.c | 278 if ((flags = fcntl(fd, F_GETFL, 0)) == -1)
|
| /src/sbin/efi/ |
| utils.c | 409 if ((fd_flags = fcntl(fd, F_GETFL)) == -1) 410 err(EXIT_FAILURE, "fcntl F_GETFL");
|