/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 92 if ((ifd = open(infile, O_RDONLY)) < 0) 95 ifd = STDIN_FILENO; 118 if (lseek(ifd, skip * bs, SEEK_CUR) < 0) 128 n = safe_read(ifd, buf, bs);
|
H A D | gzip.c | 332 static int ifd; /* input file descriptor */ variable 2480 ifd = in; 2530 len = read(ifd, buf, size);
|
/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); 1030 flags = fcntl(ifd, F_GETFL); 1032 || fcntl(ifd, F_SETF [all...] |
H A D | sys-solaris.c | 579 int ifd, x; local 631 ifd = open(PPP_DEV_NAME, O_RDWR, 0); 632 if (ifd < 0) 636 strioctl(ifd, PPPIO_DEBUG, &x, sizeof(int), 0); 642 close(ifd); 652 if (ioctl(ifd, I_PUSH, IP_MOD_NAME) < 0) { 653 close(ifd); 664 if (sifppa(ifd, ifunit) < 0) { 665 close (ifd); 679 close(ifd); [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); 1029 flags = fcntl(ifd, F_GETFL); 1031 || fcntl(ifd, F_SETF [all...] |
H A D | sys-solaris.c | 579 int ifd, x; local 631 ifd = open(PPP_DEV_NAME, O_RDWR, 0); 632 if (ifd < 0) 636 strioctl(ifd, PPPIO_DEBUG, &x, sizeof(int), 0); 642 close(ifd); 652 if (ioctl(ifd, I_PUSH, IP_MOD_NAME) < 0) { 653 close(ifd); 664 if (sifppa(ifd, ifunit) < 0) { 665 close (ifd); 679 close(ifd); [all...] |
/asus-wl-520gu-7.0.1.45/src/cfe/cfe/zlib/ |
H A D | minigzip.c | 139 int ifd = fileno(in); local 145 if (fstat(ifd, &sb) < 0) return Z_ERRNO; 150 buf = mmap((caddr_t) 0, buf_len, PROT_READ, MAP_SHARED, ifd, (off_t)0);
|
/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; 952 flags = fcntl(ifd, F_GETFL); 954 || fcntl(ifd, F_SETFL, flags | O_NONBLOCK) == -1) 955 warn("couldn't set %s to nonblock: %m", (ifd==0? "stdin": "tty")); 956 if (ofd != ifd) { [all...] |
H A D | sys-solaris.c | 530 int ifd, x; local 582 ifd = open(PPP_DEV_NAME, O_RDWR, 0); 583 if (ifd < 0) 587 strioctl(ifd, PPPIO_DEBUG, &x, sizeof(int), 0); 593 close(ifd); 603 if (ioctl(ifd, I_PUSH, IP_MOD_NAME) < 0) { 604 close(ifd); 615 if (sifppa(ifd, ifunit) < 0) { 616 close (ifd); 630 close(ifd); [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/usb/ |
H A D | printer.c | 1428 struct usb_interface_descriptor *ifd; local 1439 ifd = &if_alt->altsetting[i]; 1441 if (ifd->bInterfaceClass != 7 || ifd->bInterfaceSubClass != 1) 1444 if (ifd->bInterfaceProtocol < USBLP_FIRST_PROTOCOL || 1445 ifd->bInterfaceProtocol > USBLP_LAST_PROTOCOL) 1450 for (e = 0; e < ifd->bNumEndpoints; e++) { 1451 epd = &ifd->endpoint[e]; 1466 if (!epwrite || (ifd->bInterfaceProtocol > 1 && !epread)) 1471 if (ifd [all...] |
/asus-wl-520gu-7.0.1.45/src/router/LPRng/ |
H A D | printer.c | 1256 struct usb_interface_descriptor *ifd; local 1267 ifd = &if_alt->altsetting[i]; 1269 if (ifd->bInterfaceClass != 7 || ifd->bInterfaceSubClass != 1) 1272 if (ifd->bInterfaceProtocol < USBLP_FIRST_PROTOCOL || 1273 ifd->bInterfaceProtocol > USBLP_LAST_PROTOCOL) 1278 for (e = 0; e < ifd->bNumEndpoints; e++) { 1279 epd = &ifd->endpoint[e]; 1294 if (!epwrite || (ifd->bInterfaceProtocol > 1 && !epread)) 1299 if (ifd [all...] |
/asus-wl-520gu-7.0.1.45/src/router/LPRng/working_binaries/ |
H A D | printer.c | 1318 struct usb_interface_descriptor *ifd; local 1329 ifd = &if_alt->altsetting[i]; 1331 if (ifd->bInterfaceClass != 7 || ifd->bInterfaceSubClass != 1) 1334 if (ifd->bInterfaceProtocol < USBLP_FIRST_PROTOCOL || 1335 ifd->bInterfaceProtocol > USBLP_LAST_PROTOCOL) 1340 for (e = 0; e < ifd->bNumEndpoints; e++) { 1341 epd = &ifd->endpoint[e]; 1356 if (!epwrite || (ifd->bInterfaceProtocol > 1 && !epread)) 1361 if (ifd [all...] |
/asus-wl-520gu-7.0.1.45/src/router/samba/source/smbd/ |
H A D | vfs-wrap.c | 332 int ifd = -1; local 341 if((ifd = sys_open (source, O_RDONLY, 0)) < 0) 354 if (transfer_file(ifd, ofd, (size_t)-1) == -1) 377 if (close (ifd) == -1) 400 if (ifd != -1) 401 close(ifd);
|