/macosx-10.10/zsh-61/zsh/Src/Modules/ |
H A D | clone.c | 63 if (ioctl(SHTTY, TIOCNOTTY, 0)) 81 ioctl(cttyfd, TIOCSCTTY, 0);
|
/macosx-10.10/OpenSSH-189/openssh/ |
H A D | sshpty.c | 18 #include <sys/ioctl.h> 113 ioctl(fd, TCVHUP, (char *)NULL); 122 ioctl(*ttyfd, TCSETCTTY, NULL); 134 (void) ioctl(fd, TIOCNOTTY, NULL); 153 if (ioctl(*ttyfd, TIOCSCTTY, NULL) < 0) 154 error("ioctl(TIOCSCTTY): %.100s", strerror(errno)); 199 (void) ioctl(ptyfd, TIOCSWINSZ, &w);
|
/macosx-10.10/cups-408/cups/backend/ |
H A D | ieee1284.c | 92 if (ioctl(fd, LPIOC_GET_DEVICE_ID(device_id_size), device_id)) 97 * ioctl() to get the 1284 device ID, we have to open the "raw" parallel 124 if (!ioctl(devparportfd, PPCLAIM)) 130 if (!ioctl(devparportfd, PPNEGOT, &mode)) 138 if (!ioctl(devparportfd, PPNEGOT, &mode)) 156 ioctl(devparportfd, PPRELEASE); 220 DEBUG_printf(("backendGetDeviceID: ioctl failed - %s\n", 232 if (!ioctl(fd, ECPPIOC_GETDEVID, &did)) 245 DEBUG_printf(("backendGetDeviceID: ioctl failed - %s\n",
|
/macosx-10.10/libpcap-48/libpcap/ |
H A D | fad-gifc.c | 45 #include <sys/ioctl.h> 107 * There is no ioctl that returns the amount of space required for all 187 if (ioctl(fd, SIOCGIFCONF, (char *)&ifc) < 0 250 if (ioctl(fd, SIOCGIFFLAGS, (char *)&ifrflags) < 0) { 271 if (ioctl(fd, SIOCGIFNETMASK, (char *)&ifrnetmask) < 0) { 301 if (ioctl(fd, SIOCGIFBRDADDR, 340 if (ioctl(fd, SIOCGIFDSTADDR,
|
H A D | pcap-pf.c | 39 #include <sys/ioctl.h> 345 if (ioctl(p->fd, EIOCMBIS, (caddr_t)&enmode) < 0) { 353 (void)ioctl(p->fd, EIOCMBIS, (caddr_t)&enmode);/* OK if this fails */ 356 if (ioctl(p->fd, EIOCSETW, (caddr_t)&backlog) < 0) { 362 if (ioctl(p->fd, EIOCDEVP, (caddr_t)&devparams) < 0) { 457 if (ioctl(p->fd, EIOCTRUNCATE, (caddr_t)&p->snapshot) < 0) { 466 if (ioctl(p->fd, EIOCSETF, (caddr_t)&Filter) < 0) { 476 if (ioctl(p->fd, EIOCSRTIMEOUT, (caddr_t)&timeout) < 0) { 543 if (ioctl(p->fd, BIOCVERSION, (caddr_t)&bv) >= 0) { 554 if (ioctl( [all...] |
/macosx-10.10/network_cmds-457/ifconfig.tproj/ |
H A D | ifbond.c | 36 #include <sys/ioctl.h> 116 if (ioctl(s, SIOCGIFBOND, (caddr_t)&ifr) < 0) { 148 if (ioctl(s, SIOCGIFBOND, (caddr_t)&ifr) < 0) { 202 if (ioctl(s, SIOCSIFBOND, (caddr_t)&ifr) == -1) 221 if (ioctl(s, SIOCSIFBOND, (caddr_t)&ifr) == -1) 256 if (ioctl(s, SIOCSIFBOND, (caddr_t)&ifr) == -1)
|
H A D | ifconfig.c | 67 #include <sys/ioctl.h> 595 ret = ioctl(s, afp->af_difaddr, afp->af_ridreq); 600 Perror("ioctl (SIOCDIFADDR)"); 612 if (ioctl(s, afp->af_aifaddr, afp->af_addreq) < 0) 613 Perror("ioctl (SIOCAIFADDR)"); 627 * Delay the ioctl to set the interface addr until flags are all set. 672 if (ioctl(s, SIOCDIFPHYADDR, &ifr) < 0) 748 if (ioctl(s, SIOCGIFFLAGS, (caddr_t)&my_ifr) < 0) { 749 Perror("ioctl (SIOCGIFFLAGS)"); 761 if (ioctl( [all...] |
H A D | af_inet.c | 59 #include <sys/ioctl.h> 177 if (ioctl(s, SIOCGIFPSRCADDR, (caddr_t)&ifr) < 0) 184 if (ioctl(s, SIOCGIFPDSTADDR, (caddr_t)&ifr) < 0) 204 if (ioctl(s, SIOCSIFPHYADDR, &addreq) < 0) 217 if (ioctl(s, SIOCSETROUTERMODE, &ifr) < 0)
|
/macosx-10.10/bootp-298/IPConfiguration.bproj/ |
H A D | ifutil.c | 53 #include <sys/ioctl.h> 77 ret = ioctl(s, SIOCGIFFLAGS, (caddr_t)&ifr); 82 return (ioctl(s, SIOCSIFFLAGS, &ifr)); 93 return (ioctl(s, SIOCSIFMTU, (caddr_t)&ifr)); 103 return (ioctl(s, SIOCPROTOATTACH, &ifr)); 159 return (ioctl(s, SIOCPROTODETACH, &ifr)); 193 return (ioctl(s, SIOCAUTOADDR, &ifr)); 239 return (ioctl(s, SIOCDIFADDR, &ifr)); 258 return (ioctl(s, SIOCAIFADDR, &ifra)); 321 return (ioctl( [all...] |
/macosx-10.10/screen-22/screen/ |
H A D | tty.c.dist | 36 # include <sys/ioctl.h> /* collosions with termios.h */ 144 while (ioctl(f, I_POP, (char *)0) >= 0) 154 if (ioctl(f, TIOCEXCL, (char *) 0) < 0) 155 Msg(errno, "%s: ioctl TIOCEXCL failed", line); 181 ioctl(f, TIOCMGET, &mcs); 183 ioctl(f, TIOCMSET, &mcs); 590 ioctl(fd, TIOCSLTC, (char *)&mp->m_ltchars); 594 ioctl(fd, TCSETAW, (char *)&mp->tio); 598 ioctl(fd, LDSETMAPKEY, (char *)&mp->m_mapkey); 599 ioctl(f [all...] |
/macosx-10.10/tcl-105/tcl_ext/snack/snack/unix/ |
H A D | jkAudIO_sun.c | 54 ioctl(ctlfd, AUDIO_GETINFO, &A->ainfo); 136 if (ioctl(A->afd, AUDIO_SETINFO, &A->ainfo) < 0) { 167 ioctl(A->afd, AUDIO_SETINFO, &A->ainfo); 174 ioctl(A->afd, AUDIO_SETINFO, &A->ainfo); 199 ioctl(A->afd, AUDIO_SETINFO, &A->ainfo); 206 ioctl(A->afd, I_FLUSH, FLUSHR); 208 ioctl(A->afd, I_FLUSH, FLUSHW); 284 ioctl(A->afd, FIONREAD, &NBytes); 297 /* ioctl(A->afd, AUDIO_GETINFO, &A->ainfo); 360 ioctl(ctlf [all...] |
/macosx-10.10/SmartcardCCID-55008/libusb/libusb/libusb/os/ |
H A D | openbsd_usb.c | 155 if (ioctl(fd, USB_GET_DEVICEINFO, &di) < 0) 174 if (ioctl(fd, USB_GET_DEVICE_DESC, &dpriv->ddesc) < 0) { 297 if ((ioctl(fd, USB_GET_FULL_DESC, &ufd)) < 0) { 319 if (ioctl(dpriv->fd, USB_GET_CONFIG, config) < 0) 334 if (ioctl(dpriv->fd, USB_SET_CONFIG, &config) < 0) 379 if (ioctl(dpriv->fd, USB_SET_ALTINTERFACE, &intf) < 0) 399 if (ioctl(dpriv->fd, USB_DO_REQUEST, &req) < 0) 589 if ((ioctl(fd, USB_GET_CONFIG_DESC, &ucd)) < 0) 605 if ((ioctl(fd, USB_GET_FULL_DESC, &ufd)) < 0) { 646 if ((ioctl(dpri [all...] |
/macosx-10.10/network_cmds-457/rarpd.tproj/ |
H A D | rarpd.c | 70 #include <sys/ioctl.h> 183 if (ioctl(f, TIOCNOTTY, 0) < 0) { 247 if (ioctl(fd, SIOCGIFCONF, (caddr_t)&ifc) < 0 || 256 if (ioctl(fd, SIOCGIFFLAGS, (caddr_t)ifr) < 0) { 327 if (ioctl(fd, BIOCIMMEDIATE, &immediate) < 0) { 332 if (ioctl(fd, BIOCSETIF, (caddr_t) & ifr) < 0) { 338 if (ioctl(fd, BIOCGDLT, (caddr_t) & dlt) < 0) { 347 if (ioctl(fd, BIOCSETF, (caddr_t) & filter) < 0) { 408 if (ioctl(iflist->ii_fd, BIOCGBLEN, (caddr_t) & bufsize) < 0) { 593 if (ioctl(f [all...] |
/macosx-10.10/OpenSSH-189/openssh/openbsd-compat/ |
H A D | port-tun.c | 20 #include <sys/ioctl.h> 90 if (ioctl(fd, TUNSETIFF, &ifr) == -1) { 160 ioctl(fd, TUNSIFHEAD, &flag) == -1) { 161 debug("%s: ioctl(%d, TUNSIFHEAD, 1): %s", __func__, fd, 174 if (ioctl(sock, SIOCGIFFLAGS, &ifr) == -1) 178 if (ioctl(sock, SIOCSIFFLAGS, &ifr) == -1)
|
H A D | bsd-misc.c | 185 if (ioctl(fd, TIOCGPGRP, &ctty_pgrp) == -1) 201 if (ioctl(fd, TIOCSBRK, 0) == -1) 204 if (ioctl(fd, TIOCCBRK, 0) == -1)
|
/macosx-10.10/mDNSResponder-561.1.1/mDNSMacOSX/ |
H A D | P2PPacketFilter.c | 23 #include <sys/ioctl.h> 68 ioctlError = ioctl( devFD, DIOCXBEGIN, &trans ); 98 ioctlError = ioctl( devFD, DIOCXCOMMIT, &trans ); 113 ioctlError = ioctl( devFD, DIOCBEGINADDRS, &pp ); 131 ioctlResult = ioctl( devFD, DIOCADDRULE, pr );
|
/macosx-10.10/mail_cmds-30/mail/ |
H A D | tty.c | 44 #include <sys/ioctl.h> 111 if (ioctl(fileno(stdin), TIOCEXT, &flag) < 0) 167 if (ioctl(fileno(stdin), TIOCEXT, &flag) < 0) 211 ioctl(0, TIOCSTI, &ch); 214 ioctl(0, TIOCSTI, &ch);
|
/macosx-10.10/ppp-786.1.1/Helpers/pppd/ |
H A D | sys-MacOSX.c | 60 #include <sys/ioctl.h> 139 /* We can get an EIO error on an ioctl if the modem has hung up */ 895 if (ioctl(ip_sockfd, SIOCGIFFLAGS, &ifr) >= 0 898 ioctl(ip_sockfd, SIOCSIFFLAGS, &ifr); 998 if (ioctl(fd, PPPIOCGFLAGS, (caddr_t) &flags) < 0) { 1002 fatal("ioctl(PPPIOCGFLAGS): %m"); 1015 if (ioctl(fd, PPPIOCSFLAGS, (caddr_t) &flags) < 0) { 1017 fatal("ioctl(PPPIOCSFLAGS, %x): %m", flags, errno); 1127 // using get option or ioctl 1149 if (ioctl(ppp_sockf [all...] |
/macosx-10.10/xar-254/xar/lib/ |
H A D | ext2.c | 51 #include <sys/ioctl.h> 102 if( ioctl(fd, EXT2_IOC_GETVERSION, &version) < 0 ) { 106 if( ioctl(fd, EXT2_IOC_GETFLAGS, &flags) < 0 ) { 196 ioctl(fd, EXT2_IOC_SETVERSION, &version); 253 ioctl(fd, EXT2_IOC_SETFLAGS, &flags);
|
/macosx-10.10/Heimdal-398.1.2/lib/roken/ |
H A D | socket_wrapper.h | 109 #ifdef ioctl 110 #undef ioctl macro 112 #define ioctl(s,req,ptr) swrap_ioctl(s,req,ptr) macro
|
/macosx-10.10/curl-83.1.2/curl/src/ |
H A D | tool_getpass.c | 199 ioctl(fd, TCGETA, &withecho); 202 ioctl(fd, TCSETA, &noecho); 216 ioctl(fd, TCSETA, &withecho);
|
/macosx-10.10/hfs-285/fsck_hfs/dfalib/ |
H A D | SDevice.c | 30 #include <sys/ioctl.h> 49 if (ioctl(driveRefNum, DKIOCGETBLOCKCOUNT, &devBlockCount) < 0) { 50 plog("ioctl(DKIOCGETBLOCKCOUNT) for fd %d: %s\n", driveRefNum, strerror(errno)); 54 if (ioctl(driveRefNum, DKIOCGETBLOCKSIZE, &devBlockSize) < 0) { 55 plog("ioctl(DKIOCGETBLOCKSIZE) for fd %d: %s\n", driveRefNum, strerror(errno));
|
/macosx-10.10/network_cmds-457/pktapctl/ |
H A D | pktapctl.c | 32 #include <sys/ioctl.h> 162 if (ioctl(fd, SIOCSDRVSPEC, &ifdr) == -1) 163 err(1, "ioctl(SIOCSDRVSPEC)"); 175 if (ioctl(fd, SIOCGDRVSPEC, &ifdr) == -1) 176 err(1, "ioctl(SIOCGDRVSPEC)");
|
/macosx-10.10/ntp-92/ntpd/ |
H A D | refclock_heath.c | 21 # include <sys/ioctl.h> 59 * TIOCMBIS ioctl system calls and TIOCM_RTS control bit. Present 425 if (ioctl(pp->io.fd, TIOCMBIC, (char *)&bits) < 0) 430 ioctl(pp->io.fd, TIOCMBIS, (char *)&bits);
|
/macosx-10.10/sudo-73/src/ |
H A D | get_pty.c | 22 #include <sys/ioctl.h> 155 ioctl(*slave, I_PUSH, "ptem"); /* pseudo tty emulation module */ 156 ioctl(*slave, I_PUSH, "ldterm"); /* line discipline module */
|