Searched refs:ioctl (Results 201 - 225 of 729) sorted by relevance

1234567891011>>

/macosx-10.10/Heimdal-398.1.2/appl/telnet/telnetd/
H A Dsys_term.c137 # define tcgetattr(f, t) ioctl(f, TCGETS, (char *)t)
142 # define tcgetattr(f, t) ioctl(f, TCGETA, (char *)t)
146 # define tcgetattr(f, t) ioctl(f, TIOCGETA, (char *)t)
149 # define tcsetattr(f, a, t) ioctl(f, a, t)
460 if (ioctl(p, TIOCGPGRP, &dummy) == 0
760 n = ioctl(fd, I_LIST, 0);
762 perror("ioctl(fd, I_LIST, 0)");
767 n = ioctl(fd, I_LIST, &sl);
769 perror("ioctl(fd, I_LIST, n)");
799 err = ioctl(f
[all...]
H A Dtelnetd.c922 ioctl(p, TIOCPKT, (char *)&on);
933 ioctl(f, FIONBIO, (char *)&on);
934 ioctl(p, FIONBIO, (char *)&on);
959 ioctl(t, TIOCNOTTY, (char *)0);
1094 ioctl(net, SIOCATMARK, (char *)&atmark);
1328 /* Streams PTY style ioctl to post a signal */
1332 ioctl(ourpty, TIOCSIGNAL, &sig);
1333 ioctl(ourpty, I_FLUSH, FLUSHR);
1337 ioctl(ourpty, TCSIG, (char *)SIGINT);
1356 ioctl(ourpt
[all...]
/macosx-10.10/OpenSSL098-52/src/crypto/engine/
H A Deng_cryptodev.c62 #include <sys/ioctl.h>
189 if (ioctl(fd, CRIOGET, &retfd) == -1)
281 if (ioctl(fd, CIOCGSESSION, &sess) != -1 &&
282 ioctl(fd, CIOCFSESSION, &sess.ses) != -1)
318 if (ioctl(fd, CIOCGSESSION, &sess) != -1 &&
319 ioctl(fd, CIOCFSESSION, &sess.ses) != -1)
416 if (ioctl(state->d_fd, CIOCCRYPT, &cryp) == -1) {
459 if (ioctl(state->d_fd, CIOCGSESSION, sess) == -1) {
481 /* XXX if this ioctl fails, someting's wrong. the invoker
492 if (ioctl(stat
[all...]
/macosx-10.10/Security-57031.1.35/Security/include/security_cryptkit/
H A Dckutilities.c284 ioctl(fileno(fi), TIOCGETP, &ttyb);
287 ioctl(fileno(fi), TIOCSETP, &ttyb);
296 ioctl(fileno(fi), TIOCSETP, &ttyb);
/macosx-10.10/Security-57031.1.35/Security/libsecurity_apple_csp/open_ssl/openssl/
H A De_os.h171 #define ioctlsocket(a,b,c) ioctl(a,b,c)
387 # include <sys/ioctl.h>
389 /* ioctl is only in VMS > 7.0 and when socketshr is not used */
391 # include <sys/ioctl.h>
/macosx-10.10/Security-57031.1.35/Security/libsecurity_cryptkit/lib/
H A Dckutilities.c284 ioctl(fileno(fi), TIOCGETP, &ttyb);
287 ioctl(fileno(fi), TIOCSETP, &ttyb);
296 ioctl(fileno(fi), TIOCSETP, &ttyb);
/macosx-10.10/adv_cmds-158/stty/
H A Dkey.c202 (void)ioctl(ip->fd, TIOCEXT, &tmp);
205 (void)ioctl(ip->fd, TIOCEXT, &tmp);
295 if (ioctl(ip->fd, TIOCSETD, &tmp) < 0)
/macosx-10.10/file_cmds-242/rmt/
H A Drmt.c54 #include <sys/ioctl.h>
178 if (ioctl(tape, MTIOCTOP, (char *)&mtop) < 0)
189 if (ioctl(tape, MTIOCGET, (char *)&mtget) < 0)
/macosx-10.10/ksh-23/ksh/src/lib/libast/sfio/
H A Dsfpkrd.c26 #include <sys/ioctl.h>
103 if((r = ioctl(fd,I_PEEK,&pbuf)) < 0)
191 if((r = ioctl(fd,FIONREAD,&avail)) < 0)
198 else /* ioctl failed completely */
/macosx-10.10/ppp-786.1.1/Drivers/PPPoE/PPPoE-vpn/
H A Dmain.c59 #include <sys/ioctl.h>
287 if (ioctl(s, SIOCGIFFLAGS, (caddr_t) &ifr) >= 0) {
290 if (ioctl(s, SIOCSIFFLAGS, (caddr_t) &ifr) >= 0)
/macosx-10.10/remote_cmds-47/rexecd.tproj/
H A Drexecd.c69 #include <sys/ioctl.h>
148 ioctl(t, TIOCNOTTY, (char *)0);
212 ioctl(pv[1], FIONBIO, (char *)&one);
/macosx-10.10/remote_cmds-47/rsh.tproj/
H A Drsh.c60 #include <sys/ioctl.h>
237 (void)ioctl(rfd2, FIONBIO, &one);
238 (void)ioctl(rem, FIONBIO, &one);
/macosx-10.10/OpenSSL098-52/src/crypto/ui/
H A Dui_openssl.c227 # define TTY_get(tty,data) ioctl(tty,TCGETA,data)
228 # define TTY_set(tty,data) ioctl(tty,TCSETA,data)
235 # define TTY_get(tty,data) ioctl(tty,TIOCGETP,data)
236 # define TTY_set(tty,data) ioctl(tty,TIOCSETP,data)
240 # include <sys/ioctl.h>
/macosx-10.10/Security-57031.1.35/Security/include/security_utilities/
H A Dunix++.h35 #include <sys/ioctl.h>
184 // ioctl support
185 int ioctl(int cmd, void *arg) const;
187 { Arg arg; ioctl(cmd, &arg); return arg; }
189 { ioctl(cmd, &arg); }
191 { ioctl(cmd, const_cast<Arg *>(&arg)); }
/macosx-10.10/Security-57031.1.35/Security/libsecurity_utilities/lib/
H A Dunix++.h35 #include <sys/ioctl.h>
184 // ioctl support
185 int ioctl(int cmd, void *arg) const;
187 { Arg arg; ioctl(cmd, &arg); return arg; }
189 { ioctl(cmd, &arg); }
191 { ioctl(cmd, const_cast<Arg *>(&arg)); }
/macosx-10.10/dtrace-147/libdtrace/
H A Ddt_isadep_x86.c70 if (ioctl(dtp->dt_ftfd, FASTTRAPIOC_MAKEPROBE, ftp) != 0) {
71 dt_dprintf("fasttrap probe creation ioctl failed: %s\n",
256 if (ioctl(dtp->dt_ftfd, FASTTRAPIOC_MAKEPROBE, ftp) != 0) {
257 dt_dprintf("fasttrap probe creation ioctl failed: %s\n",
339 if (ioctl(dtp->dt_ftfd, FASTTRAPIOC_MAKEPROBE, ftp) != 0) {
340 dt_dprintf("fasttrap probe creation ioctl failed: %s\n",
416 if (ioctl(dtp->dt_ftfd, FASTTRAPIOC_MAKEPROBE, ftp) != 0) {
417 dt_dprintf("fasttrap probe creation ioctl failed: %s\n",
453 if (ioctl(dis->dtp->dt_ftfd, FASTTRAPIOC_GETINSTR, &instr) == 0) {
/macosx-10.10/postfix-255/postfix/src/util/
H A Dinet_addr_local.c52 #include <sys/ioctl.h>
119 /* ial_socket - make socket for ioctl() operations */
245 /* ial_siocglif - determine IP addresses using ioctl(SIOCGLIF*) */
275 if (ioctl(sock, SIOCGLIFCONF, (char *) &lifc) < 0) {
277 msg_fatal("%s: ioctl SIOCGLIFCONF: %m", myname);
307 if (ioctl(sock, SIOCGLIFNETMASK, lifr_mask) < 0)
308 msg_fatal("%s: ioctl(SIOCGLIFNETMASK): %m", myname);
341 /* ial_siocgif - determine IP addresses using ioctl(SIOCGIF*) */
361 * On BSD-derived systems, ioctl SIOCGIFCONF returns as much information as
378 if (ioctl(soc
[all...]
/macosx-10.10/ppp-786.1.1/Drivers/PPPoE/PPPoE-plugin/
H A Dmain.c48 #include <sys/ioctl.h>
258 if (ioctl(s, SIOCGIFFLAGS, (caddr_t) &ifr) >= 0) {
261 if (ioctl(s, SIOCSIFFLAGS, (caddr_t) &ifr) >= 0)
405 if (ioctl(fd, PPPIOCATTACH, &x) < 0) {
429 if (ioctl(fd, PPPIOCDETACH, &x) < 0)
/macosx-10.10/ppp-786.1.1/Helpers/pppstats/
H A Dpppstats.c75 #include <sys/ioctl.h>
176 if (ioctl(s, SIOCGPPPSTATS, &req) < 0) {
202 if (ioctl(s, SIOCGPPPCSTATS, &creq) < 0) {
253 if (ioctl(fd, I_STR, &str) == -1)
552 if (ioctl(s, SIOCGIFFLAGS, (caddr_t)&ifr) < 0) {
/macosx-10.10/ntp-92/lib/isc/unix/
H A Difiter_ioctl.c22 * Obtain the list of network interfaces using the SIOCGLIFCONF ioctl.
131 if (ioctl(iter->socket, SIOCGIFCONF, (char *)&iter->ifc)
149 * The ioctl succeeded.
211 if (ioctl(iter->socket6, SIOCGLIFCONF, (char *)&iter->lifc)
250 * The ioctl succeeded.
326 * ioctl on. HP/UX requires an AF_INET6 socket for
505 if (ioctl(iter->socket, SIOCGIFFLAGS, (char *) &ifreq) < 0) {
541 if (ioctl(iter->socket, SIOCGLIFADDR, &lifreq) < 0) {
591 if (ioctl(iter->socket, SIOCGIFDSTADDR, (char *)&ifreq)
614 if (ioctl(ite
[all...]
/macosx-10.10/autofs-246/automount/
H A Dautomount.c51 #include <sys/ioctl.h>
270 if (ioctl(autofs_control_fd, AUTOFS_SET_MOUNT_TO, &mount_timeout) == -1)
285 if (ioctl(autofs_control_fd, AUTOFS_UNMOUNT_TRIGGERED, 0) == -1)
295 if (ioctl(autofs_control_fd, AUTOFS_NOTIFYCHANGE, 0) == -1)
475 if (ioctl(autofs_control_fd, AUTOFS_UPDATE_OPTIONS,
703 if (ioctl(autofs_control_fd,
880 if (ioctl(autofs_control_fd, AUTOFS_UNMOUNT,
/macosx-10.10/ruby-106/ruby/ext/io/console/
H A Dconsole.c23 #include <sys/ioctl.h>
42 # define setattr(fd, t) (ioctl(fd, TCSETAF, t) == 0)
43 # define getattr(fd, t) (ioctl(fd, TCGETA, t) == 0)
50 # define setattr(fd, t) (ioctl((fd), TIOCSETP, (t)) == 0)
55 # define getattr(fd, t) (ioctl((fd), TIOCGETP, (t)) == 0)
471 #define getwinsize(fd, buf) (ioctl((fd), TIOCGWINSZ, (buf)) == 0)
472 #define setwinsize(fd, buf) (ioctl((fd), TIOCSWINSZ, (buf)) == 0)
/macosx-10.10/smb-759.0/lib/smb/
H A Dnb_net.c38 #include <sys/ioctl.h>
96 if (ioctl(so, SIOCGIFCONF, (char *)&ifc) < 0) {
97 smb_log_info("%s: ioctl (get interface configuration), syserr = %s",
112 if (ioctl(so, SIOCGIFFLAGS, (char *)&ifreq) < 0) {
113 smb_log_info("%s: SIOCGIFFLAGS ioctl failed, syserr = %s",
412 if (ioctl(s, SIOCGIFCONF, &ifc) != 0) {
425 if (ioctl(s, SIOCGIFFLAGS, ifrqp) != 0)
431 if (ioctl(s, SIOCGIFADDR, ifrqp) != 0 ||
439 if (ioctl(s, SIOCGIFNETMASK, ifrqp) != 0)
/macosx-10.10/libpcap-48/libpcap/
H A Dpcap-linux.c134 #include <sys/ioctl.h>
375 * Wrap some ioctl calls
875 if (ioctl(sock_fd, SIOCGIFFLAGS, &ifr) == -1) {
885 if (ioctl(sock_fd, SIOCSIFFLAGS, &ifr) == -1) {
957 * Bleah. There doesn't appear to be an ioctl to use to ask
979 if (ioctl(sock_fd, SIOCGIWMODE, &ireq) != -1) {
1102 if (ioctl(handle->fd, SIOCGIFFLAGS, &ifr) == -1) {
1115 if (ioctl(handle->fd, SIOCSIFFLAGS,
1166 if (ioctl(handle->fd, SIOCGIFFLAGS, &ifr) != -1) {
1170 if (ioctl(handl
[all...]
/macosx-10.10/tcl-105/tcl84/tcl/unix/
H A DtclUnixChan.c21 * sys/ioctl.h has already been included by tclPort.h. Including termios.h
50 # include <sys/ioctl.h>
58 # define GETCONTROL(fd, intPtr) ioctl((fd), TIOCMGET, (intPtr))
59 # define SETCONTROL(fd, intPtr) ioctl((fd), TIOCMSET, (intPtr))
77 # define GETREADQUEUE(fd, int) ioctl((fd), FIONREAD, &(int))
79 # define GETREADQUEUE(fd, int) int = ioctl((fd), FIORDCHK, NULL)
82 # define GETWRITEQUEUE(fd, int) ioctl((fd), TIOCOUTQ, &(int))
91 ioctl((fd), TIOCSBRK, NULL); \
93 ioctl((fd), TIOCCBRK, NULL); \
107 # define GETIOSTATE(fd, statePtr) ioctl((f
[all...]

Completed in 315 milliseconds

1234567891011>>