Searched refs:dup2 (Results 51 - 72 of 72) sorted by relevance
123
/haiku-fatelf/src/bin/network/netcat/ |
H A D | netcat.c | 584 dup2 (fd, 0); /* the precise order of fiddlage */ 586 dup2 (0, 1); /* swiped directly out of "inetd". */ 587 dup2 (0, 2);
|
/haiku-fatelf/src/bin/network/telnetd/ |
H A D | sys_term.c | 1027 (void) dup2(t, 0); 1029 (void) dup2(t, 1); 1031 (void) dup2(t, 2);
|
H A D | telnetd.c | 381 (void) dup2(ns, 0);
|
/haiku-fatelf/src/libs/print/libgutenprint/src/gutenprintui2/ |
H A D | plist.c | 1381 * So "<0,3" means input file descriptor 3 (pipefd[0]) dup2'ed onto 1421 * | | close(01263) | dup2(pipefd[0], 0) 1437 * | | | dup2(errfd[1],1) | 1438 * | | | dup2(errfd[1],2) | 1495 * | | close(01263) | dup2(pipefd[0], 0) 1511 * | | | dup2(errfd[1],1) | 1512 * | | | dup2(errfd[1],2) | 1592 dup2 (pipefd[0], 0); 1654 dup2 (errfd[1], 2); 1655 dup2 (errf [all...] |
/haiku-fatelf/src/bin/diffutils/src/ |
H A D | util.c | 216 if (dup2 (pipes[0], STDIN_FILENO) < 0) 217 pfatal_with_name ("dup2");
|
H A D | sdiff.c | 664 dup2 (diff_fds[1], STDOUT_FILENO);
|
H A D | diff3.c | 1180 dup2 (fds[1], STDOUT_FILENO);
|
/haiku-fatelf/src/servers/debug/ |
H A D | DebugServer.cpp | 1152 dup2(console, STDOUT_FILENO); 1153 dup2(console, STDERR_FILENO);
|
/haiku-fatelf/src/bin/bash/ |
H A D | general.c | 449 if (nfds > 3 && fd != nfds && (script_fd = dup2 (fd, nfds)) != -1)
|
H A D | execute_cmd.c | 487 dup2 (fd, 0); 4879 if (dup2 (pipe_in, 0) < 0) 4888 if (dup2 (pipe_out, 1) < 0) 4895 if (dup2 (1, 2) < 0)
|
H A D | shell.c | 1486 dup2 (fd, 0);
|
H A D | configure | 13313 for ac_func in dup2 eaccess fcntl getdtablesize getgroups gethostname \ 25266 { $as_echo "$as_me:$LINENO: checking if dup2 fails to clear the close-on-exec flag" >&5 25267 $as_echo_n "checking if dup2 fails to clear the close-on-exec flag... " >&6; } 25272 { $as_echo "$as_me:$LINENO: WARNING: cannot check dup2 if cross compiling -- defaulting to no" >&5 25273 $as_echo "$as_me: WARNING: cannot check dup2 if cross compiling -- defaulting to no" >&2;} 25291 fd2 = dup2(fd1, 1); 25295 /* fl will be 1 if dup2 did not reset the close-on-exec flag. */
|
/haiku-fatelf/src/bin/network/atftpd/ |
H A D | tftpd.c | 272 dup2(sockfd, 0); 299 * open and dup2 the socket. */
|
/haiku-fatelf/src/bin/rcs/ |
H A D | rcsfnms.c | 947 dup2(fd[1], STDOUT_FILENO)
|
H A D | rcsutil.c | 912 new = dup2(old, new); 1058 dup2(infd, STDIN_FILENO) != STDIN_FILENO 1097 dup2(infd, STDIN_FILENO) != STDIN_FILENO
|
/haiku-fatelf/src/bin/coreutils/lib/ |
H A D | gnulib.mk | 12 # Reproduce by: gnulib-tool --import --dir=. --local-dir=gl --lib=libcoreutils --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=gnulib-tests --aux-dir=build-aux --with-tests --avoid=canonicalize-lgpl --avoid=dummy --no-libtool --macro-prefix=gl acl alloca announce-gen areadlink-with-size argmatch argv-iter assert atexit autobuild backupfile base64 c-strcase c-strtod c-strtold calloc canon-host canonicalize chown cloexec closein closeout config-h configmake crypto/md5 crypto/sha1 crypto/sha256 crypto/sha512 cycle-check d-ino d-type diacrit dirfd dirname do-release-commit-and-tag dup2 environ error euidaccess exclude exitfail faccessat fchdir fcntl fcntl-safer fdl file-type fileblocks filemode filenamecat filevercmp fnmatch-gnu fopen-safer fprintftime freopen freopen-safer fseeko fsusage fsync ftello ftruncate fts getdate getgroups gethrxtime getline getloadavg getndelim2 getopt-gnu getpagesize getpass-gnu gettext gettime gettimeofday getugroups getusershell git-version-gen gitlog-to-changelog gnu-make gnu-web-doc-update gnumakefile gnupload group-member hard-locale hash hash-pjw host-os human idcache ignore-value inttostr inttypes isapipe isblank lchmod lchown lib-ignore linebuffer link link-follow linkat long-options lstat maintainer-makefile malloc manywarnings mbrtowc mbsalign mbswidth memcasecmp memchr memcmp memcmp2 memcpy memmove mempcpy memrchr memset mgetgroups mkancesdirs mkdir mkdir-p mkstemp mktime modechange mountlist mpsort nproc obstack pathmax perl physmem posix-shell posixtm posixver priv-set progname propername putenv quote quotearg raise randint randperm readlink readtokens readtokens0 readutmp realloc regex remove rename rmdir root-dev-ino rpmatch safe-read same save-cwd savedir savewd selinux-at settime sig2str sigaction ssize_t stat-macros stat-time stdbool stdlib-safer stpcpy stpncpy strcspn strdup-posix strftime strpbrk strsignal strtod strtoimax strtol strtoumax symlink sys_stat timespec tzset uname unicodeio unistd-safer unlink-busy unlocked-io unsetenv update-copyright uptime useless-if-before-free userspec utimecmp utimens vasprintf-posix vc-list-files verify verror version-etc-fsf wcwidth winsz-ioctl winsz-termios write-any-file xalloc xfreopen xgetcwd xgethostname xmemcoll xnanosleep xprintf xprintf-posix xreadlink xstrtod xstrtoimax xstrtol xstrtold xstrtoumax yesno 581 ## begin gnulib module dup2 584 EXTRA_DIST += dup2.c 586 EXTRA_libcoreutils_a_SOURCES += dup2.c 588 ## end gnulib module dup2
|
/haiku-fatelf/src/bin/network/ftpd/ |
H A D | ftpd.c | 519 (void) dup2(fd, 0); 520 (void) dup2(fd, 1);
|
/haiku-fatelf/headers/private/fs_shell/ |
H A D | fssh_api_wrapper.h | 1645 #define dup2 fssh_dup2 macro
|
/haiku-fatelf/src/build/libroot/ |
H A D | fs.cpp | 1402 return dup2(fd1, fd2);
|
/haiku-fatelf/src/bin/coreutils/src/ |
H A D | sort.c | 857 if (dup2 (oldfd, newfd) < 0) 858 error (SORT_FAILURE, errno, _("dup2 failed"));
|
/haiku-fatelf/src/bin/diffutils/ |
H A D | configure | 6650 for ac_func in diraccess dup2 gettimeofday \
|
/haiku-fatelf/src/bin/coreutils/ |
H A D | configure | 3200 as_fn_append ac_func_list " dup2" 20336 gl_LIBOBJS="$gl_LIBOBJS dup2.$ac_objext" 20339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether dup2 works" >&5 20340 $as_echo_n "checking whether dup2 works... " >&6; } 20346 mingw*) # on this platform, dup2 always returns 0 for success 20348 cygwin*) # on cygwin 1.5.x, dup2(1,1) returns 0 20350 linux*) # On linux between 2008-07-27 and 2009-05-11, dup2 of a 20353 freebsd*) # on FreeBSD 6.1, dup2(1,1000000) gives EMFILE, not EBADF. 20366 if (dup2 (1, 1) == 0) 20369 if (dup2 ( [all...] |
Completed in 504 milliseconds
123