/netbsd/external/gpl3/gdb/dist/gnulib/import/m4/ |
H A D | fcntl.m4 | 8 # - supports F_DUPFD correctly 26 dnl cygwin 1.5.x F_DUPFD has wrong errno, and allows negative target 27 dnl haiku alpha 2 F_DUPFD has wrong errno 28 AC_CACHE_CHECK([whether fcntl handles F_DUPFD correctly], 53 if (fcntl (0, F_DUPFD, -1) != -1) result |= 1; 55 if (fcntl (0, F_DUPFD, bad_fd) != -1) result |= 4; 57 /* On OS/2 kLIBC, F_DUPFD does not work on a directory fd */ 63 else if (fcntl (fd, F_DUPFD, STDERR_FILENO + 1) == -1) 79 AC_DEFINE([FCNTL_DUPFD_BUGGY], [1], [Define this to 1 if F_DUPFD
|
/netbsd/external/gpl3/gdb.old/dist/gnulib/import/m4/ |
H A D | fcntl.m4 | 8 # - supports F_DUPFD correctly 26 dnl cygwin 1.5.x F_DUPFD has wrong errno, and allows negative target 27 dnl haiku alpha 2 F_DUPFD has wrong errno 28 AC_CACHE_CHECK([whether fcntl handles F_DUPFD correctly], 53 if (fcntl (0, F_DUPFD, -1) != -1) result |= 1; 55 if (fcntl (0, F_DUPFD, bad_fd) != -1) result |= 4; 57 /* On OS/2 kLIBC, F_DUPFD does not work on a directory fd */ 63 else if (fcntl (fd, F_DUPFD, STDERR_FILENO + 1) == -1) 79 AC_DEFINE([FCNTL_DUPFD_BUGGY], [1], [Define this to 1 if F_DUPFD
|
/netbsd/external/gpl2/xcvs/dist/lib/ |
H A D | dup2.c | 35 #ifndef F_DUPFD 59 #ifdef F_DUPFD in dup2() 60 return fcntl (fd, F_DUPFD, desired_fd); in dup2()
|
H A D | dup-safer.c | 42 #ifdef F_DUPFD in dup_safer() 43 return fcntl (fd, F_DUPFD, STDERR_FILENO + 1); in dup_safer()
|
/netbsd/external/gpl3/gdb/dist/gnulib/import/ |
H A D | fcntl.c | 213 case F_DUPFD: in fcntl() 349 #ifdef F_DUPFD /* POSIX */ in fcntl() 350 case F_DUPFD: in fcntl() 467 result = fcntl (fd, F_DUPFD, target); in rpl_fcntl_DUPFD() 482 result = fcntl (fd, F_DUPFD, target); in rpl_fcntl_DUPFD() 567 case F_DUPFD: in klibc_fcntl()
|
H A D | dup2.c | 197 # ifndef F_DUPFD 222 # ifdef F_DUPFD in dup2() 223 result = fcntl (fd, F_DUPFD, desired_fd); in dup2()
|
H A D | fcntl.in.h | 211 #ifndef F_DUPFD 212 # define F_DUPFD 1
|
H A D | dup-safer.c | 33 return fcntl (fd, F_DUPFD, STDERR_FILENO + 1); in dup_safer()
|
H A D | dup-safer-flag.c | 36 return fcntl (fd, (flag & O_CLOEXEC) ? F_DUPFD_CLOEXEC : F_DUPFD, in dup_safer_flag()
|
/netbsd/external/gpl3/gdb.old/dist/gnulib/import/ |
H A D | fcntl.c | 213 case F_DUPFD: in fcntl() 349 #ifdef F_DUPFD /* POSIX */ in fcntl() 350 case F_DUPFD: in fcntl() 467 result = fcntl (fd, F_DUPFD, target); in rpl_fcntl_DUPFD() 482 result = fcntl (fd, F_DUPFD, target); in rpl_fcntl_DUPFD() 567 case F_DUPFD: in klibc_fcntl()
|
H A D | dup2.c | 197 # ifndef F_DUPFD 222 # ifdef F_DUPFD in dup2() 223 result = fcntl (fd, F_DUPFD, desired_fd); in dup2()
|
H A D | fcntl.in.h | 211 #ifndef F_DUPFD 212 # define F_DUPFD 1
|
H A D | dup-safer.c | 33 return fcntl (fd, F_DUPFD, STDERR_FILENO + 1); in dup_safer()
|
H A D | dup-safer-flag.c | 36 return fcntl (fd, (flag & O_CLOEXEC) ? F_DUPFD_CLOEXEC : F_DUPFD, in dup_safer_flag()
|
/netbsd/external/gpl2/rcs/dist/src/ |
H A D | rcsutil.c | 836 # ifdef F_DUPFD 837 return fcntl(fd, F_DUPFD, STDERR_FILENO + 1); 896 #ifdef F_DUPFD 898 # define dup(fd) fcntl(fd, F_DUPFD, 0) 911 # ifdef F_DUPFD 912 new = fcntl(old, F_DUPFD, new); 1043 # ifdef F_DUPFD 1049 # ifdef F_DUPFD 1050 fcntl(infd, F_DUPFD, STDIN_FILENO) != STDIN_FILENO 1087 # ifdef F_DUPFD [all …]
|
/netbsd/external/bsd/ntp/dist/libntp/ |
H A D | socket.c | 60 #if !defined(SYS_WINNT) && defined(F_DUPFD) in move_fd() 104 newfd = fcntl(fd, F_DUPFD, socket_boundary); in move_fd()
|
/netbsd/external/bsd/ntp/dist/lib/isc/win32/ |
H A D | unistd.h | 36 #undef F_DUPFD
|
/netbsd/external/mpl/bind/dist/lib/isc/win32/ |
H A D | unistd.h | 30 #undef F_DUPFD
|
/netbsd/bin/sh/ |
H A D | redir.c | 86 #define F_DUPFD_CLOEXEC F_DUPFD 279 if ((i = fcntl(fd, F_DUPFD, bigfd + 1)) == -1) { in redirect() 287 i = fcntl(fd, F_DUPFD, big_sh_fd); in redirect() 291 i = fcntl(fd, F_DUPFD, 3); in redirect() 616 if ((fd = fcntl(0, F_DUPFD, i - 1)) >= 0) { in find_big_fd()
|
/netbsd/external/ibm-public/postfix/dist/src/util/ |
H A D | vstream.h | 155 #ifdef F_DUPFD 177 #ifdef F_DUPFD
|
/netbsd/external/gpl3/gdb/lib/libgnulib/arch/m68k/gnulib/import/ |
H A D | fcntl.h | 691 #ifndef F_DUPFD 692 # define F_DUPFD 1 macro
|
/netbsd/external/gpl3/gdb/lib/libgnulib/arch/mipseb/gnulib/import/ |
H A D | fcntl.h | 691 #ifndef F_DUPFD 692 # define F_DUPFD 1 macro
|
/netbsd/external/gpl3/gdb/lib/libgnulib/arch/powerpc64/gnulib/import/ |
H A D | fcntl.h | 691 #ifndef F_DUPFD 692 # define F_DUPFD 1 macro
|
/netbsd/external/gpl3/gdb/lib/libgnulib/arch/sh3eb/gnulib/import/ |
H A D | fcntl.h | 691 #ifndef F_DUPFD 692 # define F_DUPFD 1 macro
|
/netbsd/external/gpl3/gdb/lib/libgnulib/arch/sh3el/gnulib/import/ |
H A D | fcntl.h | 691 #ifndef F_DUPFD 692 # define F_DUPFD 1 macro
|