/asus-wl-520gu-7.0.1.45/src/router/e2fsprogs-1.40.8/util/ |
H A D | copy_sparse.c | 93 long lb, i, fd, ofd, bs, block, numblocks; local 135 ofd = open(dest, O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0777); 136 if (ofd < 0) { 160 if (lseek64(ofd, should_be, SEEK_SET) == (off_t) -1) { 177 lseek(ofd, bs, SEEK_CUR); 182 got2 = write(ofd, buf, got); 190 if (fstat64(ofd, &fileinfo) < 0) { 195 lseek64(ofd, offset-1, SEEK_CUR); 197 write(ofd, buf, 1); 200 close(ofd); [all...] |
/asus-wl-520gu-7.0.1.45/src/router/busybox/ |
H A D | dd.c | 48 int i, ifd, ofd, oflag, sync_flag = FALSE, trunc = TRUE; local 105 if ((ofd = open(outfile, oflag, 0666)) < 0) 109 if (ftruncate(ofd, seek * bs) < 0) 113 ofd = STDOUT_FILENO; 123 if (lseek(ofd, seek * bs, SEEK_CUR) < 0) 141 n = full_write(ofd, buf, n);
|
H A D | nc.c | 109 int ofd; local 125 ofd = STDOUT_FILENO; 129 ofd = sfd; 132 if (full_write(ofd, buf, nread) < 0)
|
H A D | gzip.c | 333 static int ofd; /* output file descriptor */ variable 2481 ofd = out; 2548 write_buf(ofd, (char *) outbuf, outcnt);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/alpha/boot/tools/ |
H A D | objstrip.c | 54 int fd, ofd, i, j, verbose = 0, primary = 0; local 95 ofd = 1; 97 ofd = open(argv[i++], O_WRONLY | O_CREAT | O_TRUNC, 0666); 112 if (ofd == 1) { 131 if (write(ofd, bb, sizeof(bb)) != sizeof(bb)) { 248 nwritten = write(ofd, buf, n); 273 nwritten = write(ofd, buf, n);
|
/asus-wl-520gu-7.0.1.45/src/router/pppd/pppd/ |
H A D | tty.c | 895 start_charshunt(ifd, ofd) 896 int ifd, ofd; 914 charshunt(ifd, ofd, record_file); 946 * (We assume ofd >= ifd which is true the way this gets called. :-). 949 charshunt(ifd, ofd, record_file) 950 int ifd, ofd; 1012 if (ifd >= FD_SETSIZE || ofd >= FD_SETSIZE || pty_master >= FD_SETSIZE) 1014 ifd, ofd, pty_master); 1034 if (ofd != ifd) { 1035 flags = fcntl(ofd, F_GETF [all...] |
/asus-wl-520gu-7.0.1.45/src/router/pppd.mppe/pppd/ |
H A D | tty.c | 894 start_charshunt(ifd, ofd) 895 int ifd, ofd; 913 charshunt(ifd, ofd, record_file); 945 * (We assume ofd >= ifd which is true the way this gets called. :-). 948 charshunt(ifd, ofd, record_file) 949 int ifd, ofd; 1011 if (ifd >= FD_SETSIZE || ofd >= FD_SETSIZE || pty_master >= FD_SETSIZE) 1013 ifd, ofd, pty_master); 1033 if (ofd != ifd) { 1034 flags = fcntl(ofd, F_GETF [all...] |
/asus-wl-520gu-7.0.1.45/src/router/ppp/pppd/ |
H A D | tty.c | 824 start_charshunt(ifd, ofd) 825 int ifd, ofd; 843 charshunt(ifd, ofd, record_file); 875 * (We assume ofd >= ifd which is true the way this gets called. :-). 878 charshunt(ifd, ofd, record_file) 879 int ifd, ofd; 956 if (ofd != ifd) { 957 flags = fcntl(ofd, F_GETFL); 959 || fcntl(ofd, F_SETFL, flags | O_NONBLOCK) == -1) 976 nfds = (ofd > pty_maste [all...] |
/asus-wl-520gu-7.0.1.45/src/router/samba/source/smbd/ |
H A D | vfs-wrap.c | 333 int ofd = -1; local 348 if((ofd = sys_open (dest, O_WRONLY | O_CREAT | O_TRUNC | O_NOFOLLOW, 0600)) < 0 ) 350 if((ofd = sys_open (dest, O_WRONLY | O_CREAT | O_TRUNC , 0600)) < 0 ) 354 if (transfer_file(ifd, ofd, (size_t)-1) == -1) 362 if ((fchown(ofd, source_stats.st_uid, source_stats.st_gid) == -1) && (errno != EPERM)) 371 if (fchmod (ofd, source_stats.st_mode & 07777)) 380 if (close (ofd) == -1) 402 if (ofd != -1) 403 close(ofd);
|