Searched refs:dup2 (Results 1 - 25 of 93) sorted by relevance

1234

/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/zebra/lib/
H A Ddaemon.c67 dup2 (fd, STDIN_FILENO);
68 dup2 (fd, STDOUT_FILENO);
69 dup2 (fd, STDERR_FILENO);
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/router/busybox-1.x/console-tools/
H A Dopenvt.c30 dup2(0, STDOUT_FILENO);
31 dup2(0, STDERR_FILENO);
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/router/busybox-1.x/coreutils/
H A Dnohup.c29 dup2(nullfd, STDIN_FILENO);
42 } else dup2(nullfd, STDOUT_FILENO);
49 dup2(STDOUT_FILENO, STDERR_FILENO);
50 } else dup2(nullfd, STDERR_FILENO);
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/gettext-0.17/gettext-runtime/gnulib-lib/
H A Dunistd.in.h77 <http://www.opengroup.org/susv3xsh/dup2.html>. */
78 extern int dup2 (int oldfd, int newfd);
81 # undef dup2 macro
82 # define dup2(o,n) \ macro
83 (GL_LINK_WARNING ("dup2 is unportable - " \
84 "use gnulib module dup2 for portability"), \
85 dup2 (o, n))
103 # define dup2 rpl_dup2 macro
104 extern int dup2 (int, int);
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/gettext-0.17/gettext-tools/libgettextpo/
H A Dunistd.in.h77 <http://www.opengroup.org/susv3xsh/dup2.html>. */
78 extern int dup2 (int oldfd, int newfd);
81 # undef dup2 macro
82 # define dup2(o,n) \ macro
83 (GL_LINK_WARNING ("dup2 is unportable - " \
84 "use gnulib module dup2 for portability"), \
85 dup2 (o, n))
103 # define dup2 rpl_dup2 macro
104 extern int dup2 (int, int);
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-lib/
H A Dunistd.in.h77 <http://www.opengroup.org/susv3xsh/dup2.html>. */
78 extern int dup2 (int oldfd, int newfd);
81 # undef dup2 macro
82 # define dup2(o,n) \ macro
83 (GL_LINK_WARNING ("dup2 is unportable - " \
84 "use gnulib module dup2 for portability"), \
85 dup2 (o, n))
103 # define dup2 rpl_dup2 macro
104 extern int dup2 (int, int);
H A Dpipe.c137 This uses _pipe(), dup2(), and spawnv(). It could also be implemented
181 if ((!pipe_stdin || dup2 (ofd[0], STDIN_FILENO) >= 0)
182 && (!pipe_stdout || dup2 (ifd[1], STDOUT_FILENO) >= 0)
186 || (dup2 (nulloutfd, STDERR_FILENO) >= 0
192 || (dup2 (stdinfd, STDIN_FILENO) >= 0
198 || (dup2 (stdoutfd, STDOUT_FILENO) >= 0
201 but it inherits all open()ed or dup2()ed file handles (which is what
215 dup2 (orig_stderr, STDERR_FILENO), close (orig_stderr);
217 dup2 (orig_stdout, STDOUT_FILENO), close (orig_stdout);
219 dup2 (orig_stdi
[all...]
H A Dexecute.c153 || (dup2 (nullinfd, STDIN_FILENO) >= 0
159 || dup2 (nulloutfd, STDOUT_FILENO) >= 0)
162 || dup2 (nulloutfd, STDERR_FILENO) >= 0)
174 dup2 (orig_stderr, STDERR_FILENO), close (orig_stderr);
176 dup2 (orig_stdout, STDOUT_FILENO), close (orig_stdout);
178 dup2 (orig_stdin, STDIN_FILENO), close (orig_stdin);
279 || (dup2 (nullinfd, STDIN_FILENO) >= 0
285 || dup2 (nulloutfd, STDOUT_FILENO) >= 0)
288 || dup2 (nulloutfd, STDERR_FILENO) >= 0)
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/ntfs-3g-2009.3.8/libntfs-3g/
H A Dcompat.c142 (void)dup2(fd, 0);
143 (void)dup2(fd, 1);
144 (void)dup2(fd, 2);
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/router/busybox-1.x/shell/
H A Dcttyhack.c65 dup2(fd, 0);
66 dup2(fd, 1);
67 dup2(fd, 2);
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/um/drivers/
H A Dharddog_user.c25 dup2(data->stdin, 0);
26 dup2(data->stdout, 1);
27 dup2(data->stdout, 2);
H A Dport_user.c163 dup2(data->sock_fd, 0);
164 dup2(data->sock_fd, 1);
165 dup2(data->sock_fd, 2);
167 dup2(data->pipe_fd, 3);
H A Dslirp_user.c34 if(data->stdin != -1) dup2(data->stdin, 0);
35 if(data->stdout != -1) dup2(data->stdout, 1);
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/router/busybox-1.x/util-linux/
H A Dswitch_root.c117 dup2(0, 1);
118 dup2(0, 2);
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/router/udev/
H A Dudev_utils_run.c144 dup2(devnull, STDIN_FILENO);
146 dup2(devnull, STDOUT_FILENO);
148 dup2(devnull, STDERR_FILENO);
153 dup2(outpipe[WRITE_END], STDOUT_FILENO);
157 dup2(errpipe[WRITE_END], STDERR_FILENO);
H A Dtest-udev.c82 dup2(devnull, STDIN_FILENO);
84 dup2(devnull, STDOUT_FILENO);
86 dup2(devnull, STDERR_FILENO);
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/router/busybox-1.x/libbb/
H A Dvfork_daemon_rexec.c270 dup2(fd, 0);
271 dup2(fd, 1);
272 dup2(fd, 2);
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/router/busybox-1.x/networking/
H A Dnc.c146 dup2(cfd, 0);
149 dup2(0, 1);
150 dup2(0, 2);
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/wget-1.12/lib/
H A Dunistd.in.h162 # define dup2 rpl_dup2 macro
169 <http://www.opengroup.org/susv3xsh/dup2.html>. */
170 extern int dup2 (int oldfd, int newfd);
173 # undef dup2 macro
174 # define dup2(o,n) \ macro
175 (GL_LINK_WARNING ("dup2 is unportable - " \
176 "use gnulib module dup2 for portability"), \
177 dup2 (o, n))
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/test/
H A Drep009.tcl138 $clientenv 2 0 NONE dup2 err2]
146 if { $dup2 != 0 } {
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/mtools-4.0.10/
H A Dmclasserase.c242 if (dup2(open("/dev/null", O_WRONLY), STDERR_FILENO) != STDERR_FILENO)
243 printf("Error with dup2() stdout\n");
244 if (dup2(open("/dev/null", O_WRONLY), STDOUT_FILENO) != STDOUT_FILENO)
245 printf("Error with dup2() stdout\n");
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/libdaemon-0.14/libdaemon/
H A Ddexec.c77 if (dup2(p[1], 1) < 0) {
78 daemon_log(LOG_ERR, "dup2: %s", strerror(errno));
83 if (dup2(p[1], 2) < 0) {
84 daemon_log(LOG_ERR, "dup2: %s", strerror(errno));
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/um/os-Linux/
H A Duser_syms.c60 EXPORT_SYMBOL_PROTO(dup2); variable
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/java/src/com/sleepycat/db/
H A DSecondaryCursor.java457 Dbc dup2 = dup1.dup(DbConstants.DB_POSITION);
459 errCode = dup2.get(DatabaseEntry.IGNORE,
463 dup2.close();
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/router/rc/
H A Dinit.c105 dup2(fd, 0);
106 dup2(fd, 1);
107 dup2(fd, 2);

Completed in 292 milliseconds

1234