Home
last modified time | relevance | path

Searched refs:F_SETFL (Results 1 – 25 of 83) sorted by relevance

1234

/dragonfly/crypto/libressl/crypto/bio/
H A Db_posix.c86 return (fcntl(s, F_SETFL, flags | O_NONBLOCK) != -1); in BIO_socket_nbio()
88 return (fcntl(s, F_SETFL, flags & ~O_NONBLOCK) != -1); in BIO_socket_nbio()
/dragonfly/contrib/libarchive/libarchive/
H A Darchive_write_add_filter_program.c256 fcntl(data->child_stdout, F_SETFL, 0); in child_write()
263 fcntl(data->child_stdin, F_SETFL, 0); in child_write()
278 fcntl(data->child_stdin, F_SETFL, 0); in child_write()
342 fcntl(data->child_stdout, F_SETFL, 0); in __archive_write_program_close()
H A Dfilter_fork_posix.c176 fcntl(*child_stdin, F_SETFL, O_NONBLOCK); in __archive_create_child()
178 fcntl(*child_stdout, F_SETFL, O_NONBLOCK); in __archive_create_child()
H A Darchive_read_support_filter_program.c354 fcntl(state->child_stdout, F_SETFL, 0); in child_read()
375 fcntl(state->child_stdout, F_SETFL, 0); in child_read()
/dragonfly/sbin/udevd/
H A Dudevd_socket.c115 ret = fcntl(s, F_SETFL, flags | O_NONBLOCK); in unblock_descriptor()
125 ret = fcntl(s, F_SETFL, flags & ~O_NONBLOCK); in block_descriptor()
/dragonfly/contrib/gdb-7/gdb/
H A Dinflow.c293 result = fcntl (0, F_SETFL, tinfo->tflags); in terminal_inferior()
294 result = fcntl (0, F_SETFL, tinfo->tflags); in terminal_inferior()
475 result = fcntl (0, F_SETFL, our_terminal_info.tflags); in terminal_ours_1()
476 result = fcntl (0, F_SETFL, our_terminal_info.tflags); in terminal_ours_1()
/dragonfly/test/debug/
H A Dfdpassing.c33 fcntl(fds[0], F_SETFL, 0); in main()
34 fcntl(fds[1], F_SETFL, 0); in main()
/dragonfly/contrib/xz/src/xz/
H A Dfile_io.c116 if (flags == -1 || fcntl(user_abort_pipe[i], F_SETFL, in io_init()
524 && fcntl(STDIN_FILENO, F_SETFL, in io_open_src_real()
791 if (fcntl(STDIN_FILENO, F_SETFL, stdin_flags) == -1) in io_close_src()
847 && fcntl(STDOUT_FILENO, F_SETFL, in io_open_dest_real()
964 if (fcntl(STDOUT_FILENO, F_SETFL, flags) == -1) in io_open_dest_real()
1017 if (fcntl(STDOUT_FILENO, F_SETFL, stdout_flags) == -1) { in io_close_dest()
/dragonfly/contrib/diffutils/lib/
H A Dfcntl.c396 #ifdef F_SETFL /* POSIX */ in fcntl()
397 case F_SETFL: in fcntl()
608 case F_SETFL:
/dragonfly/contrib/grep/lib/
H A Dfcntl.c397 #ifdef F_SETFL /* POSIX */ in fcntl()
398 case F_SETFL: in fcntl()
609 case F_SETFL: in klibc_fcntl()
/dragonfly/usr.sbin/ppp/
H A Dprompt.c424 fcntl(fd, F_SETFL, stat); in prompt_TtyInit()
463 fcntl(p->fd_in, F_SETFL, stat); in prompt_TtyCommandMode()
483 fcntl(p->fd_in, F_SETFL, stat); in prompt_TtyTermMode()
496 fcntl(p->fd_in, F_SETFL, stat); in prompt_TtyOldMode()
/dragonfly/lib/libc/sysvipc/
H A Dsockets.c97 fcntl(fd, F_SETFL, flags & ~O_NONBLOCK); in handle_new_connection()
114 fcntl(sock, F_SETFL, flags & ~O_NONBLOCK); in connect_to_daemon()
/dragonfly/bin/sh/
H A Dredir.c286 if (flags != -1 && fcntl(pip[1], F_SETFL, flags | O_NONBLOCK) != -1) { in openhere()
292 fcntl(pip[1], F_SETFL, flags); in openhere()
/dragonfly/contrib/wpa_supplicant/src/wps/
H A Dhttp_server.c255 if (fcntl(srv->fd, F_SETFL, O_NONBLOCK) < 0) in http_server_init()
281 fcntl(srv->fd, F_SETFL, O_NONBLOCK) < 0 || in http_server_init()
/dragonfly/contrib/gdb-7/readline/
H A Dinput.c205 fcntl (tty, F_SETFL, (tem | O_NDELAY)); in rl_gather_tyi()
208 fcntl (tty, F_SETFL, tem); in rl_gather_tyi()
H A Dshell.c203 return (fcntl (fd, F_SETFL, flags));
/dragonfly/usr.sbin/dntpd/
H A Dsocket.c71 if (fcntl(fd, F_SETFL, O_NONBLOCK) < 0) { in udp_socket()
/dragonfly/lib/libc/gen/
H A Dposixshm.c89 _fcntl(fd, F_SETFL, (int)FPOSIXSHM) != 0) { in shm_open()
/dragonfly/usr.bin/wall/
H A Dttymsg.c142 (void) fcntl(fd, F_SETFL, 0); /* clear O_NONBLOCK */ in ttymsg()
/dragonfly/usr.sbin/rtadvd/
H A Dcontrol.c244 if ((flags = fcntl(fd, F_SETFL, flags | O_NONBLOCK)) == -1) { in csock_accept()
328 if ((flags = fcntl(s->si_fd, F_SETFL, flags | O_NONBLOCK)) == -1) { in csock_open()
/dragonfly/contrib/gdb-7/gdb/tui/
H A Dtui-io.c633 (void) fcntl (tui_readline_pipe[0], F_SETFL, O_NONBLOCK); in tui_initialize_io()
636 (void) fcntl (tui_readline_pipe[0], F_SETFL, O_NDELAY); in tui_initialize_io()
/dragonfly/sys/platform/vkernel64/platform/
H A Dkqueue.c86 if (fcntl(KQueueFd, F_SETFL, O_ASYNC) < 0) in init_kqueue()
/dragonfly/contrib/libedit/src/
H A Dread.c169 #if defined(F_SETFL) && defined(O_NDELAY) in read__fixio()
173 if (fcntl(fd, F_SETFL, e & ~O_NDELAY) == -1) in read__fixio()
/dragonfly/contrib/lvm2/dist/test/
H A Dharness.c137 if ( fcntl( fds[1], F_SETFL, O_NONBLOCK ) == -1 ) { in main()
/dragonfly/sys/sys/
H A Dfcntl.h194 #define F_SETFL 4 /* set file status flags */ macro

1234