Searched refs:ioctl (Results 351 - 375 of 729) sorted by relevance

<<11121314151617181920>>

/macosx-10.10/remote_cmds-47/ypbind.tproj/
H A Dypbind.c41 #include <sys/ioctl.h>
915 if (ioctl(sock, SIOCGIFCONF, &ifc) < 0)
918 sys_msg(debug, LOG_WARNING, "broadcast: ioctl(SIOCGIFCONF): %s",
934 if (ioctl(sock, SIOCGIFFLAGS, ifr) < 0) continue;
939 if (ioctl(sock, SIOCGIFBRDADDR, ifr) < 0)
942 "broadcast: ioctl(SIOCGIFBRDADDR): %s", strerror(errno));
948 if (ioctl(sock, SIOCGIFADDR, ifr) < 0)
951 "broadcast: ioctl(SIOCGIFADDR): %s", strerror(errno));
/macosx-10.10/uucp-11/uucp/
H A Dtstuu.c44 #include <sys/ioctl.h>
404 if (ioctl (os, I_PUSH, "ptem") < 0
405 || ioctl(os, I_PUSH, "ldterm") < 0)
407 perror ("ioctl");
415 if (ioctl(os, TCSETA, &stio) < 0)
1497 if (ioctl (oslave, FIONREAD, &cunread) < 0)
/macosx-10.10/Heimdal-398.1.2/lib/libedit/src/
H A Dread.c165 if (ioctl(fd, FIONBIO, (ioctl_t) & zero) == -1)
199 (void) ioctl(el->el_infd, FIONREAD, (ioctl_t) & chrs);
515 (void) ioctl(el->el_infd, FIONREAD, (ioctl_t) & chrs);
/macosx-10.10/SmartcardCCID-55008/ccid/ccid/src/
H A Dccid_serial.c35 #include <sys/ioctl.h>
692 if (ioctl(serialDevice[reader].fd, TIOCMGET, &flags) < 0)
700 if (ioctl(serialDevice[reader].fd, TIOCMSET, &flags) < 0)
/macosx-10.10/libedit-40/src/
H A Dread.c165 if (ioctl(fd, FIONBIO, &zero) == -1)
199 (void) ioctl(el->el_infd, FIONREAD, &chrs);
525 (void) ioctl(el->el_infd, FIONREAD, &chrs);
/macosx-10.10/network_cmds-457/netstat.tproj/
H A Dinet6.c69 #include <sys/ioctl.h>
554 if (ioctl(s, SIOCGIFSTAT_IN6, (char *)&ifr) < 0) {
555 perror("Warning: ioctl(SIOCGIFSTAT_IN6)");
963 if (ioctl(s, SIOCGIFSTAT_ICMP6, (char *)&ifr) < 0) {
964 perror("Warning: ioctl(SIOCGIFSTAT_ICMP6)");
/macosx-10.10/ntp-92/ntpd/
H A Dntpd.c45 # include <sys/ioctl.h>
740 (void) ioctl(fid, (u_long) TIOCNOTTY, (char *) 0);
776 if (ioctl(fd, ACPU_LOCK, &zero) < 0)
/macosx-10.10/remote_cmds-47/rlogin.tproj/
H A Drlogin.c62 #include <sys/ioctl.h>
121 #define get_window_size(fd, wp) ioctl(fd, TIOCGWINSZ, wp)
820 if (ioctl(rem, SIOCATMARK, &atmark) < 0) {
821 warn("ioctl");
/macosx-10.10/system_cmds-643.1.1/getty.tproj/
H A Dmain.c51 #include <sys/ioctl.h>
532 ioctl(STDIN_FILENO, FIONBIO, &off); /* turn off non-blocking mode */
533 ioctl(STDIN_FILENO, FIOASYNC, &off); /* ditto for async mode */
/macosx-10.10/emacs-93/emacs/src/
H A Dprocess.c92 #include <sys/ioctl.h>
109 /* sys/ioctl.h may have been included already */
111 #include <sys/ioctl.h>
1944 ioctl (inchannel, FIONBIO, &one);
2058 ioctl (xforkin, TIOCSCTTY, 0);
2084 ioctl (xforkin, TIOCSETD, &ldisc);
2093 /* I wonder: would just ioctl (0, TIOCNOTTY, 0) work here?
2096 ioctl (j, TIOCNOTTY, 0);
2141 ioctl (xforkin, TIOCSPGRP, &pgrp);
2142 ioctl (xforkou
[all...]
/macosx-10.10/ppp-786.1.1/Drivers/PPTP/PPTP-plugin/
H A Dmain.c61 #include <sys/ioctl.h>
846 ioctl(eventsockfd, SIOCSKEVFILT, &kev_req);
1267 if (ioctl(fd, PPPIOCATTACH, &x) < 0) {
1293 if (ioctl(fd, PPPIOCDETACH, &x) < 0)
1353 if ((err = ioctl(s, SIOCGIFMTU, (caddr_t) &ifr)) < 0)
1384 if ((err = ioctl(s, SIOCGIFMEDIA, (caddr_t) &ifr)) < 0) {
/macosx-10.10/dyld-353.2.1/src/
H A Dglue.c39 #include <sys/ioctl.h>
382 return gSyscallHelpers->ioctl(fd, request, result);
/macosx-10.10/IOBDStorageFamily-14/
H A DIOBDMediaBSDClient.cpp242 int IOBDMediaBSDClient::ioctl( dev_t dev, function in class:IOBDMediaBSDClient
249 // Process a BD-specific ioctl.
555 // A foreign ioctl was received. Ask our superclass' opinion.
558 error = super::ioctl(dev, cmd, data, flags, proc);
/macosx-10.10/IODVDStorageFamily-35/
H A DIODVDMediaBSDClient.cpp240 int IODVDMediaBSDClient::ioctl( dev_t dev, function in class:IODVDMediaBSDClient
247 // Process a DVD-specific ioctl.
543 // A foreign ioctl was received. Ask our superclass' opinion.
546 error = super::ioctl(dev, cmd, data, flags, proc);
/macosx-10.10/Libinfo-459/gen.subproj/
H A Dgetifaddrs.c30 #include <sys/ioctl.h>
229 i = ioctl(sock, SIOCGIFCONF, (char *)&ifc);
/macosx-10.10/Libinfo-459/rpc.subproj/
H A Dclnt_udp.c72 #include <sys/ioctl.h>
226 (void)ioctl(*sockp, FIONBIO, (char *) &dontblock);
/macosx-10.10/OpenSSL098-52/src/apps/
H A Ds_time.c139 #undef ioctl macro
140 #define ioctl ioctlsocket macro
/macosx-10.10/Security-57031.1.35/Security/include/security_utilities/
H A Dunix++.cpp264 // ioctl support
266 int FileDesc::ioctl(int cmd, void *arg) const function in class:Security::UnixPlusPlus::FileDesc
268 int rc = ::ioctl(mFd, cmd, arg);
/macosx-10.10/Security-57031.1.35/Security/libsecurity_utilities/lib/
H A Dunix++.cpp264 // ioctl support
266 int FileDesc::ioctl(int cmd, void *arg) const function in class:Security::UnixPlusPlus::FileDesc
268 int rc = ::ioctl(mFd, cmd, arg);
/macosx-10.10/bootp-298/IPConfiguration.bproj/
H A DDHCPv6Socket.c45 #include <sys/ioctl.h>
123 if (ioctl(sockfd, FIONBIO, &opt) < 0) {
124 my_log(LOG_ERR, "DHCPv6Socket: ioctl FIONBIO failed, %s",
H A Dbootp_session.c46 #include <sys/ioctl.h>
127 status = ioctl(sockfd, FIONBIO, &opt);
129 my_log(LOG_ERR, "ioctl FIONBIO failed, %s", strerror(errno));
H A Dlinklocal.c54 #include <sys/ioctl.h>
113 return (ioctl(s, SIOCARPIPLL, &ifr));
/macosx-10.10/bootp-298/bootplib/
H A Darp.c82 #include <sys/ioctl.h>
425 if (ioctl(s, FIONBIO, &opt) < 0) {
/macosx-10.10/diskdev_cmds-576/fdisk.tproj/
H A Dmbr.c62 #include <sys/ioctl.h>
221 (void) ioctl(fd, DIOCRLDINFO, 0);
/macosx-10.10/gnutar-453/gnutar/rmt/
H A Drmt.c35 #include "system-ioctl.h"
563 if (ioctl (tape, MTIOCTOP, (char *) &mtop) < 0)
582 if (ioctl (tape, MTIOCGET, (char *) &operation) < 0)

Completed in 407 milliseconds

<<11121314151617181920>>