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

/netgear-WNDR4500-V1.0.1.40_1.0.68/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-WNDR4500-V1.0.1.40_1.0.68/src/router/busybox-1.x/coreutils/
H A Ddd.c114 int ifd, ofd; member in struct:__anon11154
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-WNDR4500-V1.0.1.40_1.0.68/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-WNDR4500-V1.0.1.40_1.0.68/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:__anon11320
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-WNDR4500-V1.0.1.40_1.0.68/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-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/ppp/pppd/
H A Dtty.c838 start_charshunt(ifd, ofd)
839 int ifd, ofd;
857 charshunt(ifd, ofd, record_file);
889 * (We assume ofd >= ifd which is true the way this gets called. :-).
892 charshunt(ifd, ofd, record_file)
893 int ifd, ofd;
970 if (ofd != ifd) {
971 flags = fcntl(ofd, F_GETFL);
973 || fcntl(ofd, F_SETFL, flags | O_NONBLOCK) == -1)
990 nfds = (ofd > pty_maste
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/samba-3.0.13/source/smbd/
H A Dvfs-wrap.c400 int ofd = -1; local
415 if((ofd = sys_open (dest, O_WRONLY | O_CREAT | O_TRUNC | O_NOFOLLOW, 0600)) < 0 )
417 if((ofd = sys_open (dest, O_WRONLY | O_CREAT | O_TRUNC , 0600)) < 0 )
421 if (transfer_file(ifd, ofd, (size_t)-1) == -1)
430 if ((fchown(ofd, source_stats.st_uid, source_stats.st_gid) == -1) && (errno != EPERM))
442 if (fchmod (ofd, source_stats.st_mode & 07777))
451 if (close (ofd) == -1)
473 if (ofd != -1)
474 close(ofd);
/netgear-WNDR4500-V1.0.1.40_1.0.68/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-WNDR4500-V1.0.1.40_1.0.68/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 279 milliseconds