| /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)
|
| /src/external/ibm-public/postfix/dist/src/util/ |
| non_blocking.c | 61 if ((flags = fcntl(fd, F_GETFL, 0)) < 0)
|
| /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);
|
| /src/lib/libc/compat/sys/ |
| compat_dup3.c | 53 int e = fcntl(newfd, F_GETFL, 0);
|
| /src/external/bsd/unbound/dist/libunbound/python/ |
| file_py3.i | 66 ((fdfl = fcntl(fd, F_GETFL)) != -1) /* got descriptor flags */ 83 fdfl = fcntl(fd, F_GETFL);
|
| /src/external/gpl3/gdb/dist/gnulib/import/ |
| dup2.c | 164 #ifdef F_GETFL 176 return fcntl (fd, F_GETFL) == -1 ? -1 : fd;
|
| fcntl.c | 288 #ifdef F_GETFL /* POSIX */ 289 case F_GETFL: 571 while (fcntl (arg, F_GETFL) != -1 || errno != EBADF) 607 case F_GETFL:
|
| /src/external/gpl3/gdb.old/dist/gnulib/import/ |
| dup2.c | 164 #ifdef F_GETFL 176 return fcntl (fd, F_GETFL) == -1 ? -1 : fd;
|
| fcntl.c | 288 #ifdef F_GETFL /* POSIX */ 289 case F_GETFL: 571 while (fcntl (arg, F_GETFL) != -1 || errno != EBADF) 607 case F_GETFL:
|
| /src/external/gpl3/gdb/dist/sim/ppc/ |
| main.c | 45 #if !defined(O_NONBLOCK) || !defined(F_GETFL) || !defined(F_SETFL) 153 #if defined(O_NONBLOCK) && defined(F_GETFL) && defined(F_SETFL) 161 flags = fcntl(0, F_GETFL, 0);
|
| /src/external/gpl3/gdb.old/dist/sim/ppc/ |
| main.c | 45 #if !defined(O_NONBLOCK) || !defined(F_GETFL) || !defined(F_SETFL) 153 #if defined(O_NONBLOCK) && defined(F_GETFL) && defined(F_SETFL) 161 flags = fcntl(0, 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/external/gpl3/gdb/dist/gdb/ |
| inflow.c | 158 #ifdef F_GETFL 159 our_terminal_info.tflags = fcntl (0, F_GETFL, 0); 329 #ifdef F_GETFL 451 #ifdef F_GETFL 452 tinfo->tflags = fcntl (0, F_GETFL, 0); 511 #ifdef F_GETFL
|
| /src/external/gpl3/gdb.old/dist/gdb/ |
| inflow.c | 158 #ifdef F_GETFL 159 our_terminal_info.tflags = fcntl (0, F_GETFL, 0); 329 #ifdef F_GETFL 451 #ifdef F_GETFL 452 tinfo->tflags = fcntl (0, F_GETFL, 0); 511 #ifdef F_GETFL
|
| /src/external/bsd/ipf/dist/samples/ |
| relay.c | 182 (void) ioctl(fd, F_SETFL, ioctl(fd, F_GETFL, 0)|O_NONBLOCK); 183 (void) ioctl(0, F_SETFL, ioctl(fd, F_GETFL, 0)|O_NONBLOCK); 184 (void) ioctl(1, F_SETFL, ioctl(fd, F_GETFL, 0)|O_NONBLOCK);
|
| /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/sys/posix/ |
| fcntl.d | 61 F_GETFL 105 enum F_GETFL = 3; 405 enum F_GETFL = 3; 449 enum F_GETFL = 3; 510 enum F_GETFL = 3; 576 enum F_GETFL = 3; 664 enum F_GETFL = 3; 709 enum F_GETFL = 3;
|
| /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/tests/lib/librumpclient/ |
| t_fd.c | 120 RL(fl = rump_sys_fcntl(ls, F_GETFL));
|
| /src/usr.sbin/tpctl/ |
| tp.c | 76 flags = fcntl(tp->fd, F_GETFL);
|
| /src/crypto/external/bsd/openssl/dist/crypto/bio/ |
| bio_sock.c | 322 # elif defined(F_GETFL) && defined(F_SETFL) && (defined(O_NONBLOCK) || defined(FNDELAY)) 325 l = fcntl(s, F_GETFL, 0);
|
| /src/crypto/external/bsd/openssl.old/dist/crypto/bio/ |
| b_sock.c | 306 # elif defined(F_GETFL) && defined(F_SETFL) && (defined(O_NONBLOCK) || defined(FNDELAY)) 309 l = fcntl(s, F_GETFL, 0);
|
| /src/external/bsd/blocklist/port/ |
| popenve.c | 109 fcntl(pdes[0], F_SETFL, fcntl(pdes[0], F_GETFL) | flags); 110 fcntl(pdes[1], F_SETFL, fcntl(pdes[1], F_GETFL) | flags);
|