Searched refs:ioctl (Results 476 - 500 of 729) sorted by relevance

<<11121314151617181920>>

/macosx-10.10/xnu-2782.1.97/bsd/kern/
H A Dsubr_log.c72 #include <sys/ioctl.h>
H A Dsubr_prf.c90 #include <sys/ioctl.h>
/macosx-10.10/autofs-246/automountd/
H A Dautod_main.c40 #include <sys/ioctl.h>
394 if (ioctl(autofs_fd, AUTOFS_NOTIFYCHANGE, 0) == -1)
601 if (ioctl(autofs_fd, AUTOFS_WAITFORFLUSH, 0) == -1) {
/macosx-10.10/bootp-298/bootplib/
H A Dinterfaces.c37 #include <sys/ioctl.h>
677 return (ioctl(sockfd, SIOCGIFMEDIA, (caddr_t)ifmr_p));
744 return (ioctl(sockfd, SIOCGIFEFLAGS, (caddr_t)ifr));
/macosx-10.10/eap8021x-198/EAPOLMonitor.bproj/
H A Deapol_monitor.c46 #include <sys/ioctl.h>
209 if (ioctl(s, SIOCGIFMEDIA, (caddr_t)&ifm) < 0) {
238 if (ioctl(s, SIOCGIFMEDIA, (caddr_t)&ifm) < 0) {
/macosx-10.10/ncurses-44/ncurses/progs/
H A Dtset.c95 # include <sys/ioctl.h>
1265 (void) ioctl(STDERR_FILENO, IOCTL_GET_WINSIZE, &win);
1271 (void) ioctl(STDERR_FILENO, IOCTL_SET_WINSIZE, &win);
/macosx-10.10/ntp-92/ntpd/
H A Drefclock_palisade.c1142 if (ioctl(pp->io.fd, TIOCMGET, &x) < 0) {
1147 msyslog(LOG_ERR, "Palisade(%d) HW_poll: ioctl(fd,GET): %m",
1158 if (ioctl(pp->io.fd, TIOCMSET, &x) < 0) {
1164 "Palisade(%d) HW_poll: ioctl(fd, SET, RTS_on): %m",
1174 if (ioctl(pp->io.fd, TIOCMSET, &x) == -1) {
1180 "Palisade(%d) HW_poll: ioctl(fd, UNSET, RTS_off): %m",
H A Dntp_io.c18 # include <sys/ioctl.h>
114 * Windows C runtime ioctl() can't deal properly with sockets,
117 #define ioctl(fd, opt, val) ioctlsocket((fd), (opt), (u_long *)(val)) macro
1277 if (ioctl(s6, SIOCGIFAFLAG_IN6, &ifr6) == 0) {
1285 msyslog(LOG_DEBUG, "Ignoring address %s because ioctl failed errno:%d",
1287 os_trace("Ignoring IPv6 address because ioctl failed errno:%d", save_errno);
1394 if (ioctl(interface->fd, SIOCGIFAFLAG_IN6, &ifr6) >= 0) {
2695 if (ioctl(fd, FIONBIO, &on) < 0) {
2697 "ioctl(FIONBIO) fails on fd #%d: %m",
2703 if (ioctl(f
[all...]
H A Dcheck_y2k.c53 # include <sys/ioctl.h>
/macosx-10.10/ruby-106/ruby/test/socket/
H A Dtest_socket.rb333 s.ioctl(ulSIOCGIFINFO_IN6, in6_ondireq)
350 s.ioctl(ulSIOCGIFINFO_IN6, in6_ondireq)
355 s.ioctl(ulSIOCGIFFLAGS, in6_ifreq)
/macosx-10.10/screen-22/screen/
H A Dresize.c27 #include <sys/ioctl.h>
95 if (ioctl(D_userfd, TIOCGWINSZ, (char *)&glwz) != 0)
97 debug2("CheckScreenSize: ioctl(%d, TIOCGWINSZ) errno %d\n", D_userfd, errno);
1001 if (ioctl(p->w_ptyfd, TIOCSWINSZ, (char *)&glwz))
/macosx-10.10/configd-699.1.5/Plugins/Logger/
H A Dlogger.c34 #include <sys/ioctl.h>
143 if (ioctl(sock, SIOCGIFFLAGS, (caddr_t)&ifr) == 0) {
150 if ((ioctl(sock, SIOCGIFMEDIA, (caddr_t)&ifm) == 0) &&
471 if (ioctl(so, SIOCSKEVFILT, &kev_req) == -1) {
472 SCLOG(NULL, NULL, ASL_LEVEL_ERR, CFSTR("ioctl(, SIOCSKEVFILT, ) failed"));
477 if (ioctl(so, FIONBIO, &yes) == -1) {
478 SCLOG(NULL, NULL, ASL_LEVEL_ERR, CFSTR("ioctl(, FIONBIO, ) failed"));
/macosx-10.10/libarchive-30/libarchive/libarchive/
H A Darchive_write_disk.c46 #include <sys/ioctl.h>
2223 * Linux uses ioctl() to read and write file flags.
2265 if (ioctl(myfd, EXT2_IOC_GETFLAGS, &oldflags) >= 0) {
2267 if (ioctl(myfd, EXT2_IOC_SETFLAGS, &newflags) >= 0)
2273 if (ioctl(myfd, EXT2_IOC_GETFLAGS, &oldflags) >= 0) {
2277 if (ioctl(myfd, EXT2_IOC_SETFLAGS, &newflags) >= 0)
2295 * support through ioctl().
H A Darchive_read_disk_entry_from_file.c101 /* Linux requires an extra ioctl to pull the flags. Although
109 int r = ioctl(fd, EXT2_IOC_GETFLAGS, &stflags);
/macosx-10.10/lukemftp-14/tnftp/libedit/
H A Dterm.c50 #include <sys/ioctl.h>
970 if (ioctl(el->el_infd, TIOCGWINSZ, (ioctl_t) & ws) != -1) {
981 if (ioctl(el->el_infd, TIOCGSIZE, (ioctl_t) & ts) != -1) {
/macosx-10.10/tcsh-65/tcsh/
H A Dsh.c384 (void) ioctl (SHIN, TIOCSPGRP, (ioctl_t) &shpgrp);
2246 /* ioctl will return ENOTTY for pty's but we ignore it */
2252 (void) ioctl(FSHTTY, TIOCCDTR, NULL);
2254 (void) ioctl(FSHTTY, TIOCSDTR, NULL);
/macosx-10.10/bind9-45.101/bind9/lib/isc/unix/
H A Dentropy.c464 ret = ioctl(fd, FIONBIO, (char *)&on);
475 "ioctl(%d, FIONBIO, &on): %s", fd,
/macosx-10.10/bootp-298/bsdpc.tproj/
H A Dbsdpc.c41 #include <sys/ioctl.h>
/macosx-10.10/curl-83.1.2/curl/lib/
H A Dfile.c40 #include <sys/ioctl.h>
/macosx-10.10/eap8021x-198/EAPOLController.bproj/
H A Dcontroller.c34 #include <sys/ioctl.h>
254 if (ioctl(s, SIOCGIFMEDIA, (caddr_t)&ifm) < 0) {
270 if (ioctl(s, SIOCGIFMEDIA, (caddr_t)&ifm) == -1) {
558 if (ioctl(s, SIOCGIFMEDIA, (caddr_t)&ifmr) != -1
/macosx-10.10/network_cmds-457/netstat.tproj/
H A Dif.c64 #include <sys/ioctl.h>
1395 if (ioctl(s, SIOCGIFQUEUESTATS, (char *)&ifqr) < 0) {
1400 perror("Warning: ioctl(SIOCGIFQUEUESTATS)");
1423 if (ioctl(s, SIOCGIFQUEUESTATS, (char *)&ifqr) < 0) {
1424 perror("Warning: ioctl(SIOCGIFQUEUESTATS)");
1435 if (ioctl(s, SIOCGIFQUEUESTATS, (char *)&ifqr) < 0) {
1436 perror("Warning: ioctl(SIOCGIFQUEUESTATS)");
/macosx-10.10/ntp-92/lib/isc/unix/
H A Dentropy.c464 ret = ioctl(fd, FIONBIO, (char *)&on);
475 "ioctl(%d, FIONBIO, &on): %s", fd,
/macosx-10.10/ppp-786.1.1/Dialogs/
H A DDialogs.c58 #include <sys/ioctl.h>
/macosx-10.10/ppp-786.1.1/Drivers/L2TP/L2TP-plugin/
H A Dmain.c61 #include <sys/ioctl.h>
1200 ioctl(eventsockfd, SIOCSKEVFILT, &kev_req);
2072 if (ioctl(fd, PPPIOCATTACH, &x) < 0) {
2098 if (ioctl(fd, PPPIOCDETACH, &x) < 0)
/macosx-10.10/rsync-45/rsync/
H A Drsync.h248 #include <sys/ioctl.h>

Completed in 417 milliseconds

<<11121314151617181920>>