Searched refs:ofd (Results 1 - 9 of 9) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-lib/
H A Dpipe.c142 int ofd[2]; local
157 if (_pipe (ofd, 4096, O_BINARY | O_NOINHERIT) < 0)
162 * parent -> ofd[1] -> ofd[0] -> child if pipe_stdin
181 if ((!pipe_stdin || dup2 (ofd[0], STDIN_FILENO) >= 0)
200 /* The child process doesn't inherit ifd[0], ifd[1], ofd[0], ofd[1],
222 close (ofd[0]);
233 close (ofd[1]);
240 fd[1] = ofd[
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/coreutils/
H A Ddd.c114 int ifd, ofd; member in struct:__anon11198
125 #define ofd (Z.ofd ) macro
239 ofd = xopen(outfile, oflag);
242 if (ftruncate(ofd, seek * obs) < 0) {
245 if (fstat(ofd, &st) < 0 || S_ISREG(st.st_mode) ||
251 ofd = STDOUT_FILENO;
266 if (lseek(ofd, seek * obs, SEEK_CUR) < 0)
304 if (write_and_stats(ofd, obuf, obs, obs, outfile))
309 } else if (write_and_stats(ofd, ibu
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/alpha/boot/tools/
H A Dobjstrip.c52 int fd, ofd, i, j, verbose = 0, primary = 0; local
93 ofd = 1;
95 ofd = open(argv[i++], O_WRONLY | O_CREAT | O_TRUNC, 0666);
110 if (ofd == 1) {
129 if (write(ofd, bb, sizeof(bb)) != sizeof(bb)) {
245 nwritten = write(ofd, buf, n);
270 nwritten = write(ofd, buf, n);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/networking/
H A Dnc.c164 int ofd; local
179 ofd = STDOUT_FILENO;
187 ofd = cfd;
189 xwrite(ofd, iobuf, nread);
H A Dnc_bloaty.c58 ofd = 4, enumerator in enum:__anon11364
70 /*int ofd;*/ /* hexdump output fd */
501 xwrite(ofd, stage, ap - stage);
768 xmove_fd(xopen(str_o, O_WRONLY|O_CREAT|O_TRUNC), ofd);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ppp-2.4.4/pppd/
H A Dtty.c919 start_charshunt(ifd, ofd)
920 int ifd, ofd;
924 cpid = safe_fork(ifd, ofd, (log_to_fd >= 0? log_to_fd: 2));
968 * (We assume ofd >= ifd which is true the way this gets called. :-).
971 charshunt(ifd, ofd, record_file)
972 int ifd, ofd;
1034 if (ifd >= FD_SETSIZE || ofd >= FD_SETSIZE || pty_master >= FD_SETSIZE)
1036 ifd, ofd, pty_master);
1056 if (ofd != ifd) {
1057 flags = fcntl(ofd, F_GETF
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/smbd/
H A Dvfs-wrap.c415 int ofd = -1; local
430 if((ofd = sys_open (dest, O_WRONLY | O_CREAT | O_TRUNC | O_NOFOLLOW, 0600)) < 0 )
432 if((ofd = sys_open (dest, O_WRONLY | O_CREAT | O_TRUNC , 0600)) < 0 )
436 if (transfer_file(ifd, ofd, (size_t)-1) == -1)
445 if ((fchown(ofd, source_stats.st_uid, source_stats.st_gid) == -1) && (errno != EPERM))
457 if (fchmod (ofd, source_stats.st_mode & 07777))
466 if (close (ofd) == -1)
488 if (ofd != -1)
489 close(ofd);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/archival/
H A Dgzip.c309 #define ofd STDOUT_FILENO /* output file descriptor */ macro
358 xwrite(ofd, (char *) G1.outbuf, G1.outcnt);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/shell/
H A Dash.c3446 int ofd; local
3447 ofd = fd = open(_PATH_TTY, O_RDWR);
3454 close(ofd);

Completed in 121 milliseconds