Searched refs:ioctl (Results 151 - 175 of 729) sorted by relevance

1234567891011>>

/macosx-10.10/vim-55/src/
H A Dos_unixx.h20 /* sun's sys/ioctl.h redefines symbols from termio world */
22 # include <sys/ioctl.h>
/macosx-10.10/xnu-2782.1.97/bsd/dev/i386/
H A Dstubs.c36 #include <sys/ioctl.h>
/macosx-10.10/ntp-92/ntpd/
H A Drefclock_leitch.c278 if (ioctl(fd232, TCGETA, &ttyb) < 0) {
280 "leitch_start: ioctl(%s, TCGETA): %m", leitchdev);
288 if (ioctl(fd232, TCSETA, &ttyb) < 0) {
290 "leitch_start: ioctl(%s, TCSETA): %m", leitchdev);
329 if (ioctl(fd232, I_PUSH, "clk") < 0)
331 "leitch_start: ioctl(%s, I_PUSH, clk): %m", leitchdev);
332 if (ioctl(fd232, CLK_SETSTR, "\n") < 0)
334 "leitch_start: ioctl(%s, CLK_SETSTR): %m", leitchdev);
349 if (ioctl(fd232, TIOCGETP, &ttyb) < 0) {
351 "leitch_start: ioctl(
[all...]
/macosx-10.10/screen-22/screen/
H A Dtty.sh62 # include <sys/ioctl.h> /* collosions with termios.h */
170 while (ioctl(f, I_POP, (char *)0) >= 0)
180 if (ioctl(f, TIOCEXCL, (char *) 0) < 0)
181 Msg(errno, "%s: ioctl TIOCEXCL failed", line);
207 ioctl(f, TIOCMGET, &mcs);
209 ioctl(f, TIOCMSET, &mcs);
428 ioctl(fd, TIOCSLTC, (char *)&mp->m_ltchars);
432 ioctl(fd, TCSETAW, (char *)&mp->tio);
436 ioctl(fd, LDSETMAPKEY, (char *)&mp->m_mapkey);
437 ioctl(f
[all...]
/macosx-10.10/network_cmds-457/ifconfig.tproj/
H A Daf_inet6.c60 #include <sys/ioctl.h>
123 error = ioctl(s, SIOCGIFINFO_IN6, &nd);
125 warn("ioctl(SIOCGIFINFO_IN6)");
132 error = ioctl(s, SIOCSIFINFO_FLAGS, (caddr_t)&nd);
134 warn("ioctl(SIOCSIFINFO_FLAGS)");
256 if (ioctl(s6, SIOCGIFAFLAG_IN6, &ifr6) < 0) {
257 warn("ioctl(SIOCGIFAFLAG_IN6)");
264 if (ioctl(s6, SIOCGIFALIFETIME_IN6, &ifr6) < 0) {
265 warn("ioctl(SIOCGIFALIFETIME_IN6)");
513 if (ioctl(
[all...]
/macosx-10.10/OpenSSL098-52/src/crypto/des/
H A Dread_pwd.c156 #define TTY_get(tty,data) ioctl(tty,TCGETA,data)
157 #define TTY_set(tty,data) ioctl(tty,TCSETA,data)
164 #define TTY_get(tty,data) ioctl(tty,TIOCGETP,data)
165 #define TTY_set(tty,data) ioctl(tty,TIOCSETP,data)
169 #include <sys/ioctl.h>
/macosx-10.10/network_cmds-457/ip6addrctl.tproj/
H A Dip6addrctl.c38 #include <sys/ioctl.h>
329 if (ioctl(s, SIOCAADDRCTL_POLICY, &ent->pc_policy))
330 warn("ioctl(SIOCAADDRCTL_POLICY)");
412 if (ioctl(s, SIOCAADDRCTL_POLICY, &p))
413 err(1, "ioctl(SIOCAADDRCTL_POLICY)");
432 if (ioctl(s, SIOCDADDRCTL_POLICY, &p))
433 err(1, "ioctl(SIOCDADDRCTL_POLICY)");
449 if (ioctl(s, SIOCDADDRCTL_POLICY, &ent->pc_policy))
450 warn("ioctl(SIOCDADDRCTL_POLICY)");
/macosx-10.10/remote_cmds-47/telnetd.tproj/
H A Dsys_term.c125 # define tcgetattr(f, t) ioctl(f, TCGETS, (char *)t)
130 # define tcgetattr(f, t) ioctl(f, TCGETA, (char *)t)
134 # define tcgetattr(f, t) ioctl(f, TIOCGETA, (char *)t)
137 # define tcsetattr(f, a, t) ioctl(f, a, t)
178 if (ioctl(spty, TIOCGETP, (char *)&termbuf.sg) == -1)
179 perror("ioctl TIOCGETP");
180 if (ioctl(spty, TIOCGETC, (char *)&termbuf.tc) == -1)
181 perror("ioctl TIOCGETC");
182 if (ioctl(spty, TIOCGLTC, (char *)&termbuf.ltc) == -1)
183 perror("ioctl TIOCGLT
[all...]
/macosx-10.10/tcsh-65/tcsh/
H A Ded.term.c533 * situations where ioctl() does.
538 * usually ioctl() will return -1, which previously caused tty_setty() to
544 * If ioctl()'s errno is EAGAIN/EWOULDBLOCK ("Resource temporarily
546 * need to try again. In my testing, ioctl() was never called more than
551 * So, I retry all ioctl's in case others happen to fail too (christos)
700 RETRY(ioctl(fd, TCGETA, (ioctl_t) &td->d_t));
703 RETRY(ioctl(fd, TIOCGETP, (ioctl_t) &td->d_t));
706 RETRY(ioctl(fd, TIOCGETC, (ioctl_t) &td->d_tc));
709 RETRY(ioctl(fd, TIOCGPAGE, (ioctl_t) &td->d_pc));
712 RETRY(ioctl(f
[all...]
/macosx-10.10/mDNSResponder-561.1.1/mDNSPosix/
H A DmDNSUNP.c25 #include <sys/ioctl.h>
174 if (ioctl(sockfd, SIOCGIFFLAGS, &ifr) < 0) {
254 if (ioctl(sockfd, SIOCGIFCONF, &ifc) < 0) {
297 if (ioctl(sockfd, SIOCGIFFLAGS, &ifrcopy) < 0) {
321 if ( 0 >= ioctl(sockfd, SIOCGIFINDEX, &ifrcopy))
342 if (ioctl(sockfd, SIOCGIFNETMASK, &ifrcopy) < 0) {
372 if (ioctl(sockfd, SIOCGIFBRDADDR, &ifrcopy) < 0) {
391 if (ioctl(sockfd, SIOCGIFDSTADDR, &ifrcopy) < 0) {
433 if (ioctl(sockf6, SIOCGIFNETMASK_IN6, &ifr6) < 0) {
/macosx-10.10/ruby-106/ruby/ext/pty/
H A Dpty.c14 #include <sys/ioctl.h>
114 if (ioctl(i, TIOCNOTTY, (char *)0))
115 ERROR_EXIT("ioctl(TIOCNOTTY)");
127 (void) ioctl(slave, TIOCSCTTY, (char *)0);
262 if (ioctl(slavefd, I_PUSH, "ptem") == -1) goto error;
263 if (ioctl(slavefd, I_PUSH, "ldterm") == -1) goto error;
264 if (ioctl(slavefd, I_PUSH, "ttcompat") == -1) goto error;
346 if(ioctl(slavefd, I_PUSH, "ptem") == -1) goto error;
347 if(ioctl(slavefd, I_PUSH, "ldterm") == -1) goto error;
348 ioctl(slavef
[all...]
/macosx-10.10/uucp-11/uucp/unix/
H A Dserial.c81 #include <sys/ioctl.h>
173 /* If we have the TIOCSINUSE ioctl call, we use it to lock a terminal.
174 Otherwise, if we have the TIOCEXCL ioctl call, we have to open the
817 if (ioctl (qsysdep->o, TIOCSINUSE, 0) < 0)
820 ulog (LOG_ERROR, "ioctl (TIOCSINUSE): %s", strerror (errno));
822 (void) ioctl (qsysdep->o, TIOCNOTTY, (char *) NULL);
853 (void) ioctl (qsysdep->o, TIOCNOTTY, (char *) NULL);
868 (void) ioctl (qsysdep->o, TIOCNOTTY, (char *) NULL);
898 (void) ioctl (qsysdep->o, TIOCNOTTY, (char *) NULL);
1193 if (ioctl (
[all...]
/macosx-10.10/configd-699.1.5/Plugins/KernelEventMonitor/
H A Deventmon.c161 ret = ioctl(s, SIOCGIFFLAGS, (caddr_t)&ifr);
166 return (ioctl(s, SIOCSIFFLAGS, &ifr));
177 ret = ioctl(s, SIOCGIFFLAGS, (caddr_t)&ifr);
182 return (ioctl(s, SIOCSIFFLAGS, &ifr));
745 status = ioctl(so, SIOCSKEVFILT, &kev_req);
747 SCLog(TRUE, LOG_ERR, CFSTR("could not establish event filter, ioctl() failed: %s"), strerror(errno));
758 status = ioctl(so, FIONBIO, &yes);
760 SCLog(TRUE, LOG_ERR, CFSTR("could not set non-blocking io, ioctl() failed: %s"), strerror(errno));
H A Dev_extra.m85 return (ioctl(s, SIOCSIFEXPENSIVE, &ifr));
/macosx-10.10/dcerpc-61/dcerpc/ncklib/
H A Dipnaf_bsd.c103 #include <sys/ioctl.h>
178 ** so that we have to have only one copy of all the gore (ioctl's)
262 if (ioctl (desc, (int) SIOCGIFCONF, (caddr_t) &ifc) < 0)
356 if (ioctl(desc, SIOCGIFFLAGS, &ifreq) < 0)
384 * the ifc block returned from the SIOCGIFCONF ioctl above already
397 if (ioctl(desc, SIOCGIFADDR, &ifreq) < 0)
526 ** desc Socket being used for ioctl's.
583 if (ioctl(desc, (int) SIOCGIFNETMASK, &ifreq) == -1)
756 ** desc Socket being used for ioctl's.
817 if (ioctl(des
[all...]
/macosx-10.10/SmartCardServices-55111/src/PCSC/
H A Dwinscard_msg_srv.c29 #include <sys/ioctl.h>
84 if (ioctl(*pdwClientID, FIONBIO, &one) < 0)
/macosx-10.10/adv_cmds-158/tabs/
H A Dtabs.c39 #include <sys/ioctl.h>
232 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &ws) != -1)
/macosx-10.10/bind9-45.101/bind9/unit/atf-src/atf-c++/detail/
H A Dui.cpp31 #include <sys/ioctl.h>
62 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &ws) != -1)
/macosx-10.10/configd-699.1.5/configd.tproj/
H A D_notifyviafd.c35 #include <sys/ioctl.h>
176 if (ioctl(sock, FIONBIO, &nbioYes) == -1) {
178 SCLog(TRUE, LOG_DEBUG, CFSTR("_notifyviafd ioctl(,FIONBIO,) failed: %s"), strerror(errno));
/macosx-10.10/curl-83.1.2/curl/lib/
H A Dif2ip.c35 # include <sys/ioctl.h>
182 if(ioctl(dummy, SIOCGIFADDR, &req) < 0) {
/macosx-10.10/dtrace-147/test/cmd/baddof/
H A Dbaddof.c107 if ((rv = ioctl(fd, DTRACEIOC_ENABLE, buf)) == -1) {
165 if ((rv = ioctl(fd, DTRACEIOC_ENABLE, buf)) > 0) {
/macosx-10.10/file_cmds-242/pax/
H A Dar_io.c49 #include <sys/ioctl.h>
192 artyp = ioctl(arfd, MTIOCGET, &mb) ? ISCHR : ISTAPE;
780 if (ioctl(arfd, MTIOCTOP, &mb) < 0)
998 if (ioctl(arfd, MTIOCTOP, &mb) < 0) {
1054 if (ioctl(arfd, MTIOCTOP, &mb) < 0) {
1065 if (ioctl(arfd, MTIOCTOP, &mb) < 0) {
1086 if (ioctl(arfd, MTIOCTOP, &mb) < 0) {
1117 if (ioctl(arfd, MTIOCTOP, &mb) < 0) {
/macosx-10.10/hfs-285/CopyHFSMeta/
H A DDeviceWrapper.c130 if (ioctl(ctx.fd, DKIOCGETBLOCKSIZE, &ctx.blockSize) == -1) {
133 if (ioctl(ctx.fd, DKIOCGETBLOCKCOUNT, &blockCount) == -1) {
/macosx-10.10/ksh-23/ksh/src/lib/libast/comp/
H A Dopen.c109 if ((op & O_NOCTTY) && ioctl(fd, TIOCNOTTY, 0))
/macosx-10.10/ksh-23/ksh/src/lib/libast/features/
H A Dfcntl.c36 #define ioctl ______ioctl macro
58 #undef ioctl macro

Completed in 189 milliseconds

1234567891011>>