Searched refs:F_SETFL (Results 26 - 50 of 150) sorted by relevance

123456

/freebsd-10.3-release/tools/regression/netinet/udpzerobyte/
H A Dudpzerobyte.c74 if (fcntl(sock_receive, F_SETFL, O_NONBLOCK, 1) < 0)
/freebsd-10.3-release/usr.sbin/ppp/
H A Dprompt.c426 fcntl(fd, F_SETFL, stat);
465 fcntl(p->fd_in, F_SETFL, stat);
485 fcntl(p->fd_in, F_SETFL, stat);
498 fcntl(p->fd_in, F_SETFL, stat);
/freebsd-10.3-release/contrib/wpa/src/wps/
H A Dhttp_server.c245 if (fcntl(srv->fd, F_SETFL, O_NONBLOCK) < 0)
272 if (fcntl(srv->fd, F_SETFL, O_NONBLOCK) < 0)
/freebsd-10.3-release/contrib/sendmail/libsm/
H A Dlocal.h170 if (ret == -1 || fcntl((fd), F_SETFL, \
186 if (ret == -1 || fcntl((fd), F_SETFL, \
/freebsd-10.3-release/contrib/apr/file_io/unix/
H A Dpipe.c52 if (fcntl(thepipe->filedes, F_SETFL, fd_flags) == -1) {
87 if (fcntl(thepipe->filedes, F_SETFL, fd_flags) == -1) {
/freebsd-10.3-release/bin/sh/
H A Dredir.c270 if (flags != -1 && fcntl(pip[1], F_SETFL, flags | O_NONBLOCK) != -1) {
276 fcntl(pip[1], F_SETFL, flags);
/freebsd-10.3-release/tools/tools/netrate/tcpp/
H A Dtcpp_server.c89 if (fcntl(fd, F_SETFL, O_NONBLOCK) < 0)
254 if (fcntl(listen_sock, F_SETFL, O_NONBLOCK) < 0)
/freebsd-10.3-release/contrib/openbsm/libbsm/
H A Dbsm_fcntl.c49 { BSM_F_SETFL, F_SETFL },
/freebsd-10.3-release/contrib/llvm/tools/lldb/source/Host/common/
H A DTerminal.cpp187 fcntl (fd, F_SETFL, m_tflags);
/freebsd-10.3-release/lib/libc/stdio/
H A Dfreopen.c108 if (_fcntl(fp->_file, F_SETFL, dflags) < 0) {
/freebsd-10.3-release/sys/security/audit/
H A Dbsm_fcntl.c52 { BSM_F_SETFL, F_SETFL },
/freebsd-10.3-release/sys/sys/
H A Dfcntl.h143 /* bits settable by fcntl(F_SETFL, ...) */
211 #define F_SETFL 4 /* set file status flags */ macro
/freebsd-10.3-release/tools/regression/poll/
H A Dsockpoll.c70 if (fcntl(sck, F_SETFL, flags))
/freebsd-10.3-release/contrib/netbsd-tests/net/icmp/
H A Dt_ping.c181 RL(rump_sys_fcntl(s, F_SETFL, x));
188 RL(rump_sys_fcntl(s, F_SETFL, xnon));
/freebsd-10.3-release/contrib/ngatm/sscop/
H A Dcommon.c272 if (fcntl(sscop_fd, F_SETFL, fl) == -1)
282 if (fcntl(sscop_fd, F_SETFL, fl) == -1)
/freebsd-10.3-release/contrib/libarchive/libarchive/
H A Darchive_read_support_filter_program.c365 fcntl(state->child_stdout, F_SETFL, 0);
386 fcntl(state->child_stdout, F_SETFL, 0);
/freebsd-10.3-release/contrib/libreadline/
H A Dinput.c213 fcntl (tty, F_SETFL, (tem | O_NDELAY));
216 fcntl (tty, F_SETFL, tem);
/freebsd-10.3-release/contrib/apr/network_io/unix/
H A Dsockopt.c37 if (fcntl(sd, F_SETFL, fd_flags) == -1) {
63 if (fcntl(sd, F_SETFL, fd_flags) == -1) {
/freebsd-10.3-release/contrib/openbsm/bin/auditdistd/
H A Dproto_tcp.c298 if (fcntl(tctx->tc_fd, F_SETFL, flags) == -1) {
301 "fcntl(F_SETFL, O_NONBLOCK) failed");
322 if (fcntl(tctx->tc_fd, F_SETFL, flags) == -1) {
325 "fcntl(F_SETFL, ~O_NONBLOCK) failed");
396 if (fcntl(tctx->tc_fd, F_SETFL, flags) == -1) {
400 "fcntl(F_SETFL, ~O_NONBLOCK) failed");
/freebsd-10.3-release/sbin/hastd/
H A Dproto_tcp.c309 if (fcntl(tctx->tc_fd, F_SETFL, flags) == -1) {
311 "fcntl(F_SETFL, O_NONBLOCK) failed");
332 if (fcntl(tctx->tc_fd, F_SETFL, flags) == -1) {
336 "fcntl(F_SETFL, ~O_NONBLOCK) failed");
397 if (fcntl(tctx->tc_fd, F_SETFL, flags) == -1) {
401 "fcntl(F_SETFL, ~O_NONBLOCK) failed");
/freebsd-10.3-release/sys/compat/svr4/
H A Dsvr4_fcntl.c90 return F_SETFL;
616 case F_SETFL:
632 return (kern_fcntl(td, uap->fd, F_SETFL, flags));
/freebsd-10.3-release/lib/libedit/
H A Dread.c148 #if defined(F_SETFL) && defined(O_NDELAY)
152 if (fcntl(fd, F_SETFL, e & ~O_NDELAY) == -1)
156 #endif /* F_SETFL && O_NDELAY */
/freebsd-10.3-release/contrib/gdb/gdb/gdbserver/
H A Dremote-utils.c165 #if defined(F_SETFL) && defined (FASYNC)
167 fcntl (remote_desc, F_SETFL, save_fcntl_flags | FASYNC);
/freebsd-10.3-release/contrib/gdb/gdb/tui/
H A Dtui-io.c624 (void) fcntl (tui_readline_pipe[0], F_SETFL, O_NONBLOCK);
627 (void) fcntl (tui_readline_pipe[0], F_SETFL, O_NDELAY);
/freebsd-10.3-release/usr.sbin/portsnap/phttpget/
H A Dphttpget.c396 if (fcntl(sd, F_SETFL, sdflags | O_NONBLOCK) == -1)
432 if (fcntl(sd, F_SETFL, sdflags) == -1)

Completed in 349 milliseconds

123456