Home
last modified time | relevance | path

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

123

/dragonfly/contrib/diffutils/lib/
H A Ddup2.c166 # ifdef F_GETFL in rpl_dup2()
178 return fcntl (fd, F_GETFL) == -1 ? -1 : fd; in rpl_dup2()
218 int result = fcntl (fd, F_GETFL) < 0 ? -1 : fd; in dup2()
H A Dfcntl.c287 #ifdef F_GETFL /* POSIX */ in fcntl()
288 case F_GETFL: in fcntl()
568 while (fcntl (arg, F_GETFL) != -1 || errno != EBADF)
604 case F_GETFL:
H A Derror.c141 # ifndef F_GETFL in is_open()
144 return 0 <= fcntl (fd, F_GETFL); in is_open()
/dragonfly/contrib/grep/lib/
H A Ddup2.c166 # ifdef F_GETFL in rpl_dup2()
178 return fcntl (fd, F_GETFL) == -1 ? -1 : fd; in rpl_dup2()
218 int result = fcntl (fd, F_GETFL) < 0 ? -1 : fd; in dup2()
H A Dfcntl.c288 #ifdef F_GETFL /* POSIX */ in fcntl()
289 case F_GETFL: in fcntl()
569 while (fcntl (arg, F_GETFL) != -1 || errno != EBADF) in klibc_fcntl()
605 case F_GETFL: in klibc_fcntl()
H A Derror.c141 # ifndef F_GETFL in is_open()
144 return 0 <= fcntl (fd, F_GETFL); in is_open()
/dragonfly/contrib/gdb-7/gdb/
H A Dinflow.c180 #ifdef F_GETFL in gdb_has_a_terminal()
181 our_terminal_info.tflags = fcntl (0, F_GETFL, 0); in gdb_has_a_terminal()
289 #ifdef F_GETFL in terminal_inferior()
469 #ifdef F_GETFL in terminal_ours_1()
470 tinfo->tflags = fcntl (0, F_GETFL, 0); in terminal_ours_1()
/dragonfly/sbin/udevd/
H A Dudevd_socket.c114 flags = fcntl(s, F_GETFL, 0); in unblock_descriptor()
124 flags = fcntl(s, F_GETFL, 0); in block_descriptor()
/dragonfly/usr.sbin/ppp/
H A Dprompt.c421 stat = fcntl(fd, F_GETFL, 0); in prompt_TtyInit()
460 stat = fcntl(p->fd_in, F_GETFL, 0); in prompt_TtyCommandMode()
480 stat = fcntl(p->fd_in, F_GETFL, 0); in prompt_TtyTermMode()
493 stat = fcntl(p->fd_in, F_GETFL, 0); in prompt_TtyOldMode()
H A Dtty.c473 oldflag = fcntl(p->fd, F_GETFL, 0); in tty_Raw()
518 if ((oldflag = fcntl(p->fd, F_GETFL, 0)) != -1) in tty_Cooked()
747 oldflag = fcntl(p->fd, F_GETFL, 0); in tty_Create()
H A Dexec.c122 stat = fcntl(fids[0], F_GETFL, 0); in exec_Create()
/dragonfly/lib/libc/sysvipc/
H A Dsockets.c96 flags = fcntl(fd, F_GETFL, 0); in handle_new_connection()
113 flags = fcntl(sock, F_GETFL, 0); in connect_to_daemon()
/dragonfly/lib/libc/stdio/
H A Dfdopen.c56 if ((fdflags = _fcntl(fd, F_GETFL, 0)) < 0) in fdopen()
H A Dfreopen.c83 if ((dflags = _fcntl(fp->pub._fileno, F_GETFL)) < 0) { in freopen()
/dragonfly/contrib/gdb-7/readline/
H A Dshell.c187 if ((flags = fcntl (fd, F_GETFL, 0)) < 0)
H A Dinput.c203 tem = fcntl (tty, F_GETFL, 0); in rl_gather_tyi()
/dragonfly/usr.sbin/rtadvd/
H A Dcontrol.c239 if ((flags = fcntl(fd, F_GETFL, 0)) == -1) { in csock_accept()
323 if ((flags = fcntl(s->si_fd, F_GETFL, 0)) == -1) { in csock_open()
/dragonfly/contrib/xz/src/xz/
H A Dfile_io.c115 int flags = fcntl(user_abort_pipe[i], F_GETFL); in io_init()
515 stdin_flags = fcntl(STDIN_FILENO, F_GETFL); in io_open_src_real()
838 stdout_flags = fcntl(STDOUT_FILENO, F_GETFL); in io_open_dest_real()
/dragonfly/sys/sys/
H A Dfcntl.h193 #define F_GETFL 3 /* get file status flags */ macro
/dragonfly/contrib/gdb-7/bfd/
H A Dopncls.c332 #if defined(HAVE_FCNTL) && defined(F_GETFL) in bfd_fdopenr()
336 #if ! defined(HAVE_FCNTL) || ! defined(F_GETFL) in bfd_fdopenr()
339 fdflags = fcntl (fd, F_GETFL, NULL); in bfd_fdopenr()
/dragonfly/usr.bin/chat/
H A Dchat.c443 if ((flags = fcntl(0, F_GETFL, 0)) == -1) in sigalrm()
1036 if ((status = fcntl(0, F_GETFL, 0)) == -1) in get_char()
1064 if ((status = fcntl(0, F_GETFL, 0)) == -1) in put_char()
/dragonfly/contrib/binutils-2.27/bfd/
H A Dopncls.c332 #if defined(HAVE_FCNTL) && defined(F_GETFL) in bfd_fdopenr()
336 #if ! defined(HAVE_FCNTL) || ! defined(F_GETFL) in bfd_fdopenr()
339 fdflags = fcntl (fd, F_GETFL, NULL); in bfd_fdopenr()
/dragonfly/contrib/dhcpcd/src/
H A Dif.c997 if ((xtype & SOCK_NONBLOCK) && ((xflags = fcntl(s, F_GETFL)) == -1 || in xsocket()
1044 if ((xtype & SOCK_NONBLOCK) && ((xflags = fcntl(fd[0], F_GETFL)) == -1 || in xsocketpair()
1047 if ((xtype & SOCK_NONBLOCK) && ((xflags = fcntl(fd[1], F_GETFL)) == -1 || in xsocketpair()
/dragonfly/contrib/binutils-2.34/bfd/
H A Dopncls.c342 #if defined(HAVE_FCNTL) && defined(F_GETFL) in bfd_fdopenr()
346 #if ! defined(HAVE_FCNTL) || ! defined(F_GETFL) in bfd_fdopenr()
349 fdflags = fcntl (fd, F_GETFL, NULL); in bfd_fdopenr()
/dragonfly/bin/sh/
H A Dredir.c285 flags = fcntl(pip[1], F_GETFL, 0); in openhere()

123