/macosx-10.10/file_cmds-242/dd/ |
H A D | dd.c | 60 #include <sys/ioctl.h> 225 if (ioctl(io->fd, FIODTYPE, &type) == -1) { 239 (void)ioctl(io->fd, DIOCWLABEL, &one);
|
/macosx-10.10/ksh-23/ksh/src/cmd/ksh93/sh/ |
H A D | jobs.c | 172 # define tcgetpgrp(a) (ioctl(a, TIOCGPGRP, &_i_)>=0?_i_:-1) 178 return(ioctl(fd, TIOCSPGRP, &pgid)); 616 if((job.linedisc = ioctl(JOBTTY, FIOLOOKLD, 0)) <0) 618 if(ioctl(JOBTTY,TIOCGETD,&job.linedisc) !=0) 686 if (ioctl(JOBTTY, FIOPOPLD, 0) < 0) 688 if (ioctl(JOBTTY, FIOPUSHLD, &linedisc) < 0) 690 ioctl(JOBTTY, FIOPUSHLD, &job.linedisc); 695 if(ioctl(JOBTTY,TIOCSETD,&linedisc) !=0) 795 if (ioctl(job.fd, FIOPOPLD, 0) < 0) 797 if (ioctl(jo [all...] |
/macosx-10.10/lukemftp-14/tnftp/libedit/ |
H A D | read.c | 158 if (ioctl(fd, FIONBIO, (ioctl_t) & zero) == -1) 189 (void) ioctl(el->el_infd, FIONREAD, (ioctl_t) & chrs); 421 (void) ioctl(el->el_infd, FIONREAD, (ioctl_t) & chrs);
|
/macosx-10.10/network_cmds-457/rtadvd.tproj/ |
H A D | if.c | 35 #include <sys/ioctl.h> 168 if (ioctl(s, SIOCGIFMTU, (caddr_t)&ifr) < 0) { 195 if (ioctl(s, SIOCGIFFLAGS, (caddr_t)&ifr) < 0) { 196 syslog(LOG_ERR, "<%s> ioctl:SIOCGIFFLAGS: failed for %s",
|
H A D | rrenum.c | 33 #include <sys/ioctl.h> 163 if (ioctl(s, rrcmd2pco[rpm->rpm_code], (caddr_t)irr) < 0 && 165 syslog(LOG_ERR, "<%s> ioctl: %s", __func__, 195 if (ioctl(s, rrcmd2pco[rpm->rpm_code], (caddr_t)irr) < 0 && 197 syslog(LOG_ERR, "<%s> ioctl: %s", __func__,
|
/macosx-10.10/removefile-35/ |
H A D | removefile_sunlink.c | 35 #include <sys/ioctl.h> 326 if (ioctl(state->file, EXT2_IOC_GETFLAGS, &flags) == -1) { 387 ioctl(state->file, EXT2_IOC_SETFLAGS, EXT2_SECRM_FL);
|
/macosx-10.10/srm-7/srm/src/ |
H A D | sunlink.c | 9 #include <sys/ioctl.h> 371 if (ioctl(file, EXT2_IOC_GETFLAGS, &flags) == -1) { 430 ioctl(file, EXT2_IOC_SETFLAGS, EXT2_SECRM_FL);
|
/macosx-10.10/tcl-105/tcl/tcl/unix/ |
H A D | tclUnixChan.c | 31 # include <sys/ioctl.h> 39 # define GETCONTROL(fd, intPtr) ioctl((fd), TIOCMGET, (intPtr)) 40 # define SETCONTROL(fd, intPtr) ioctl((fd), TIOCMSET, (intPtr)) 43 # define GETREADQUEUE(fd, int) ioctl((fd), FIONREAD, &(int)) 45 # define GETREADQUEUE(fd, int) int = ioctl((fd), FIORDCHK, NULL) 48 # define GETWRITEQUEUE(fd, int) ioctl((fd), TIOCOUTQ, &(int)) 59 ioctl((fd), TIOCSBRK, NULL); \ 61 ioctl((fd), TIOCCBRK, NULL); \ 75 # define GETIOSTATE(fd, statePtr) ioctl((fd), TCGETA, (statePtr)) 76 # define SETIOSTATE(fd, statePtr) ioctl((f [all...] |
/macosx-10.10/uucp-11/uucp/unix/ |
H A D | tli.c | 42 #include <sys/ioctl.h> 193 tirdwr. If the I_PUSH ioctl is not defined on this system, we just 214 if (ioctl (qsysdep->o, I_PUSH, *pz) < 0) 216 ulog (LOG_ERROR, "ioctl (I_PUSH, %s): %s", *pz, 224 if (ioctl (qsysdep->o, I_PUSH, "tirdwr") < 0) 226 ulog (LOG_ERROR, "ioctl (I_PUSH, tirdwr): %s",
|
/macosx-10.10/ntp-92/ntpd/ |
H A D | refclock_parse.c | 129 # define TTY_GETATTR(_FD_, _ARG_) ioctl((_FD_), TCGETA, (_ARG_)) 130 # define TTY_SETATTR(_FD_, _ARG_) ioctl((_FD_), TCSETAW, (_ARG_)) 139 # include <sys/ioctl.h> 1667 if (ioctl(parse->ppsfd, I_PUSH, (caddr_t)m1) == -1 && 1668 ioctl(parse->ppsfd, I_PUSH, (caddr_t)m2) == -1) 1672 msyslog(LOG_ERR, "PARSE receiver #%d: ppsclock_init: ioctl(fd, I_PUSH, \"ppsclock\"): %m", 1679 (void)ioctl(parse->ppsfd, I_POP, (caddr_t)0); 1700 if (ioctl(parse->generic->io.fd, I_PUSH, (caddr_t)m1) == -1) 1704 msyslog(LOG_ERR, "PARSE receiver #%d: stream_init: ioctl(fd, I_PUSH, \"parse\"): %m", CLK_UNIT(parse->peer)); 1710 while(ioctl(pars [all...] |
H A D | refclock_acts.c | 21 # include <sys/ioctl.h> 364 ioctl(pp->io.fd, TIOCMGET, (char *)&modem); 396 ioctl(pp->io.fd, TIOCMBIS, (char *)&dtr); 928 ioctl(pp->io.fd, TIOCMBIC, (char *)&dtr);
|
H A D | refclock_zyfer.c | 294 if(ioctl(fdpps,request,(caddr_t) &ppsev) >=0) {
|
/macosx-10.10/IOFireWireIP-226.2/KernelSource/BSD/ |
H A D | firewire_inet6_pr_module.c | 220 proto.ioctl = firewire_inet6_prmod_ioctl;
|
/macosx-10.10/Libc-1044.1.2/fbsdcompat/ |
H A D | _fbsd_compat_.h | 83 #define _ioctl ioctl
|
/macosx-10.10/Libc-1044.1.2/gen/FreeBSD/ |
H A D | termios.c | 45 #include <sys/ioctl.h>
|
/macosx-10.10/Libinfo-459/gen.subproj/ |
H A D | getifmaddrs.c | 36 #include <sys/ioctl.h>
|
/macosx-10.10/bash-94.1.2/bash-3.2/ |
H A D | jobs.c | 47 #include <sys/ioctl.h> 61 /* For the TIOCGPGRP and TIOCSPGRP ioctl parameters on HP-UX */ 328 #define tcsetpgrp(fd, pgrp) ioctl ((fd), TIOCSPGRP, &(pgrp)) 336 /* ioctl will handle setting errno correctly. */ 337 if (ioctl (fd, TIOCGPGRP, &pgrp) < 0) 1895 ioctl. We cheat by finding the length of the output queue, and 1917 while ((ioctl (fd, TIOCOUTQ, &n) == 0) && n) 1947 ioctl (tty, TIOCGETP, &shell_tty_info); 1948 ioctl (tty, TIOCGETC, &shell_tchars); 1949 ioctl (tt [all...] |
/macosx-10.10/bind9-45.101/bind9/contrib/nslint-2.1a3/lbl/ |
H A D | os-sunos4.h | 112 int ioctl(int, int, caddr_t);
|
/macosx-10.10/eap8021x-198/EAP8021X.fproj/ |
H A D | LinkAddresses.c | 40 #include <sys/ioctl.h>
|
/macosx-10.10/hfs-285/fsck_hfs/ |
H A D | fsck_hfs.c | 28 #include <sys/ioctl.h> 703 if (ioctl(fsreadfd, DKIOCGETBLOCKSIZE, &devBlockSize) < 0) { 921 if (ioctl(fd, DKIOCGETBLOCKSIZE, &devBlockSize) == -1) { 925 if (ioctl(fd, DKIOCGETBLOCKCOUNT, &devBlockTotal) == -1) {
|
/macosx-10.10/libpcap-48/libpcap/lbl/ |
H A D | os-sunos4.h | 112 int ioctl(int, int, caddr_t);
|
/macosx-10.10/network_cmds-457/mtest.tproj/ |
H A D | mtest.c | 47 #include <sys/ioctl.h> 749 if (ioctl(s, (*cmd == 'a') ? SIOCADDMULTI : SIOCDELMULTI, 751 warn("ioctl SIOCADDMULTI/SIOCDELMULTI"); 771 if (ioctl(s, SIOCGIFFLAGS, &ifr) == -1) { 772 warn("ioctl SIOCGIFFLAGS"); 783 if (ioctl(s, SIOCSIFFLAGS, &ifr) == -1) 784 warn("ioctl SIOCGIFFLAGS");
|
/macosx-10.10/network_cmds-457/traceroute.tproj/ |
H A D | findsaddr-socket.c | 68 #include <sys/ioctl.h>
|
/macosx-10.10/ppp-786.1.1/Controller/ |
H A D | flow_divert_controller.c | 22 #include <sys/ioctl.h> 107 if (ioctl(ipv6_sock, SIOCPROTOATTACH_IN6, (caddr_t)&alias_request)) { 134 if (ioctl(ipv6_sock, SIOCLL_START, (caddr_t)&alias_request) < 0) { 172 error = ioctl(sock, CTLIOCGINFO, &kernctl_info);
|
/macosx-10.10/ppp-786.1.1/Family/ |
H A D | ppp_ipv6.c | 118 reg.ioctl = ppp_ipv6_ioctl; 150 called from dlil when an ioctl is sent to the interface
|