Home
last modified time | relevance | path

Searched refs:F_GETFL (Results 1 – 25 of 124) sorted by relevance

12345

/netbsd-src/tests/lib/libc/sys/
H A Dt_socketpair.c85 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 Dt_pipe2.c73 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 Dt_timerfd.c766 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 Dfcntl.d105 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 Dfcntl.c288 #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 Ddup2.c164 #ifdef F_GETFL in rpl_dup2()
176 return fcntl (fd, F_GETFL) == -1 ? -1 : fd; in rpl_dup2()
H A Derror.c141 # 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 Drelay.c182 (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 Dfile_py3.i66 ((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 Dt_tcp.c190 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 Dpopenve.c107 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 Dcommon_impl.h39 #define fd_is_valid(fd) (fcntl((fd), F_GETFL) != -1 || errno != EBADF)
/netbsd-src/external/ibm-public/postfix/dist/src/util/
H A Dnon_blocking.c63 if ((flags = fcntl(fd, F_GETFL, 0)) < 0)
/netbsd-src/lib/libc/compat/sys/
H A Dcompat_dup3.c51 int e = fcntl(newfd, F_GETFL, 0); in dup3()
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/bio/
H A Db_sock.c306 # 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 Dfcntl.m413 # - F_GETFL, F_SETFL
103 return (fcntl (10, F_GETFL) < 0 ? 0 : 42);
/netbsd-src/external/bsd/libbind/dist/isc/
H A Dev_files.c67 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 Dev_connects.c74 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 Dbio_sock.c322 # 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 Dfdopen.c87 if ((fdflags = fcntl(fd, F_GETFL, 0)) < 0) in __weak_alias()
H A Dvdprintf.c82 if ((fdflags = fcntl(fd, F_GETFL, 0)) == -1) in __weak_alias()
/netbsd-src/external/gpl3/gdb.old/dist/readline/readline/
H A Dshell.c193 if ((flags = fcntl (fd, F_GETFL, 0)) < 0) in sh_unset_nodelay_mode()
/netbsd-src/external/gpl3/gdb/dist/readline/readline/
H A Dshell.c193 if ((flags = fcntl (fd, F_GETFL, 0)) < 0) in sh_unset_nodelay_mode()
/netbsd-src/tests/lib/librumpclient/
H A Dt_fd.c120 RL(fl = rump_sys_fcntl(ls, F_GETFL)); in ATF_TC_BODY()
/netbsd-src/external/public-domain/xz/dist/src/xz/
H A Dfile_io.c115 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()

12345