| /netbsd-src/tests/lib/libc/sys/ |
| H A D | t_socketpair.c | 85 ATF_REQUIRE((fcntl(fd[0], F_GETFL) & O_NONBLOCK) != 0); in run() 86 ATF_REQUIRE((fcntl(fd[1], F_GETFL) & O_NONBLOCK) != 0); in run() 88 ATF_REQUIRE((fcntl(fd[0], F_GETFL) & O_NONBLOCK) == 0); in run() 89 ATF_REQUIRE((fcntl(fd[1], F_GETFL) & O_NONBLOCK) == 0); in run()
|
| H A D | t_pipe2.c | 73 ATF_REQUIRE((fcntl(fd[0], F_GETFL) & O_NONBLOCK) != 0); in run() 74 ATF_REQUIRE((fcntl(fd[1], F_GETFL) & O_NONBLOCK) != 0); in run() 76 ATF_REQUIRE((fcntl(fd[0], F_GETFL) & O_NONBLOCK) == 0); in run() 77 ATF_REQUIRE((fcntl(fd[1], F_GETFL) & O_NONBLOCK) == 0); in run()
|
| H A D | t_timerfd.c | 766 ATF_REQUIRE((fcntl(tfd, F_GETFL) & O_NONBLOCK) == 0); 768 ATF_REQUIRE((fcntl(tfd, F_GETFL) & O_NONBLOCK) != 0); 781 ATF_REQUIRE((fcntl(tfd, F_GETFL) & ~O_ACCMODE) == O_NONBLOCK);
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/posix/ |
| H A D | fcntl.d | 105 enum F_GETFL = 3; in version() local 405 enum F_GETFL = 3; in version() local 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;
|
| /netbsd-src/external/gpl3/gdb/dist/gnulib/import/ |
| H A D | fcntl.c | 288 #ifdef F_GETFL /* POSIX */ in fcntl() 289 case F_GETFL: in fcntl() 571 while (fcntl (arg, F_GETFL) != -1 || errno != EBADF) in klibc_fcntl() 607 case F_GETFL: in klibc_fcntl()
|
| H A D | dup2.c | 164 #ifdef F_GETFL in rpl_dup2() 176 return fcntl (fd, F_GETFL) == -1 ? -1 : fd; in rpl_dup2()
|
| H A D | error.c | 141 # ifndef F_GETFL in is_open() 144 return 0 <= fcntl (fd, F_GETFL); in is_open()
|
| /netbsd-src/external/bsd/ipf/dist/samples/ |
| H A D | 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);
|
| /netbsd-src/external/bsd/unbound/dist/libunbound/python/ |
| H A D | file_py3.i | 66 ((fdfl = fcntl(fd, F_GETFL)) != -1) /* got descriptor flags */ in is_obj_file() 83 fdfl = fcntl(fd, F_GETFL); in obj_to_file()
|
| /netbsd-src/tests/net/net/ |
| H A D | t_tcp.c | 190 fl = fcntl(srvr, F_GETFL, 0); in accept_test() 227 fl = fcntl(acpt, F_GETFL, 0); in accept_test() 238 fl = fcntl(acpt, F_GETFL, 0); in accept_test()
|
| /netbsd-src/external/bsd/blocklist/port/ |
| H A D | popenve.c | 107 fcntl(pdes[0], F_SETFL, fcntl(pdes[0], F_GETFL) | flags); in pdes_get() 108 fcntl(pdes[1], F_SETFL, fcntl(pdes[1], F_GETFL) | flags); in pdes_get()
|
| /netbsd-src/sys/external/bsd/libnv/dist/ |
| H A D | common_impl.h | 39 #define fd_is_valid(fd) (fcntl((fd), F_GETFL) != -1 || errno != EBADF)
|
| /netbsd-src/external/ibm-public/postfix/dist/src/util/ |
| H A D | non_blocking.c | 63 if ((flags = fcntl(fd, F_GETFL, 0)) < 0)
|
| /netbsd-src/lib/libc/compat/sys/ |
| H A D | compat_dup3.c | 51 int e = fcntl(newfd, F_GETFL, 0); in dup3()
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/bio/ |
| H A D | b_sock.c | 306 # elif defined(F_GETFL) && defined(F_SETFL) && (defined(O_NONBLOCK) || defined(FNDELAY)) in BIO_socket_nbio() 309 l = fcntl(s, F_GETFL, 0); in BIO_socket_nbio()
|
| /netbsd-src/external/gpl3/gdb/dist/gnulib/import/m4/ |
| H A D | fcntl.m4 | 13 # - F_GETFL, F_SETFL 103 return (fcntl (10, F_GETFL) < 0 ? 0 : 42);
|
| /netbsd-src/external/bsd/libbind/dist/isc/ |
| H A D | ev_files.c | 67 OK(mode = fcntl(fd, F_GETFL, NULL)); /*%< side effect: validate fd. */ in evSelectFD() 174 mode = fcntl(del->fd, F_GETFL, NULL); in evDeselectFD()
|
| H A D | ev_connects.c | 74 OKFREE(mode = fcntl(fd, F_GETFL, NULL), new); /*%< side effect: validate fd. */ in evListen() 167 mode = fcntl(this->fd, F_GETFL, NULL); in evCancelConn()
|
| /netbsd-src/crypto/external/bsd/openssl/dist/crypto/bio/ |
| H A D | bio_sock.c | 322 # elif defined(F_GETFL) && defined(F_SETFL) && (defined(O_NONBLOCK) || defined(FNDELAY)) in BIO_socket_nbio() 325 l = fcntl(s, F_GETFL, 0); in BIO_socket_nbio()
|
| /netbsd-src/lib/libc/stdio/ |
| H A D | fdopen.c | 87 if ((fdflags = fcntl(fd, F_GETFL, 0)) < 0) in __weak_alias()
|
| H A D | vdprintf.c | 82 if ((fdflags = fcntl(fd, F_GETFL, 0)) == -1) in __weak_alias()
|
| /netbsd-src/external/gpl3/gdb.old/dist/readline/readline/ |
| H A D | shell.c | 193 if ((flags = fcntl (fd, F_GETFL, 0)) < 0) in sh_unset_nodelay_mode()
|
| /netbsd-src/external/gpl3/gdb/dist/readline/readline/ |
| H A D | shell.c | 193 if ((flags = fcntl (fd, F_GETFL, 0)) < 0) in sh_unset_nodelay_mode()
|
| /netbsd-src/tests/lib/librumpclient/ |
| H A D | t_fd.c | 120 RL(fl = rump_sys_fcntl(ls, F_GETFL)); in ATF_TC_BODY()
|
| /netbsd-src/external/public-domain/xz/dist/src/xz/ |
| H A D | file_io.c | 115 int flags = fcntl(user_abort_pipe[i], F_GETFL); in io_init() 513 stdin_flags = fcntl(STDIN_FILENO, F_GETFL); in io_open_src_real() 834 stdout_flags = fcntl(STDOUT_FILENO, F_GETFL); in io_open_dest_real()
|