Searched refs:ioctl (Results 126 - 150 of 729) sorted by relevance

1234567891011>>

/macosx-10.10/libpcap-48/libpcap/
H A Dpcap-snoop.c32 #include <sys/ioctl.h>
173 if (ioctl(p->fd, SIOCRAWSTATS, (char *)rs) < 0) {
233 if (ioctl(fd, SIOCADDSNOOP, &sf) < 0) {
331 if (ioctl(fd, SIOCGIFMTU, (char *)&ifr) < 0) {
365 if (ioctl(fd, SIOCSNOOPLEN, &snooplen) < 0) {
371 if (ioctl(fd, SIOCSNOOPING, &v) < 0) {
/macosx-10.10/ntp-92/ntpd/
H A Drefclock_bancomm.c65 /* in one ioctl(2) operation. */
69 /* SunOS5 ioctl commands definitions.*/
76 /***** Simple ioctl commands *****/
80 /***** Compound ioctl commands *****/
256 if( ioctl( fd_vme, RUNLOCK, &dummy ) )
260 if( ioctl( fd_vme, WCR0, &regvalue ) )
430 if (ioctl(fd_vme, READTIME, &btm)) {
453 if(ioctl (fd_vme, SELTIMEFORMAT, TIME_DECIMAL)){
458 if (ioctl(fd_vme, READTIME, &stfpm)) {
459 msyslog(LOG_ERR, "ioctl erro
[all...]
/macosx-10.10/sudo-73/src/
H A Dinterfaces.c37 #include <sys/ioctl.h>
212 if (ioctl(sock, I_STR, (caddr_t) &strioctl) < 0) {
215 if (ioctl(sock, SIOCGIFCONF, (caddr_t) ifconf) < 0 && errno != EINVAL) {
257 if (ioctl(sock, SIOCGIFFLAGS, (caddr_t) &ifr_tmp) < 0)
278 if (ioctl(sock, I_STR, (caddr_t) &strioctl) == 0) {
280 if (ioctl(sock, SIOCGIFNETMASK, (caddr_t) &ifr_tmp) == 0) {
/macosx-10.10/apr-32/apr/apr/network_io/os2/
H A Dsockopt.c72 if (ioctl(sock->socketdes, FIONBIO, (caddr_t)&one, sizeof(one)) == -1) {
117 if (ioctl(sock->socketdes, SIOCATMARK, (void*)&oobmark, sizeof(oobmark)) < 0) {
/macosx-10.10/cron-39/lib/
H A Dcompat.c32 # include <sys/ioctl.h>
115 (void) ioctl(fd, TIOCNOTTY, (char*)0);
/macosx-10.10/ksh-23/ksh/src/lib/libast/comp/
H A Dfcntl.c77 op = ioctl(fd, n == FD_CLOEXEC ? FIOCLEX : FIONCLEX, 0);
/macosx-10.10/network_cmds-457/rtsol.tproj/
H A Dif.c65 #include <sys/ioctl.h>
131 if (ioctl(ifsock, SIOCGIFFLAGS, (caddr_t)&ifr) < 0) {
132 warnmsg(LOG_WARNING, __FUNCTION__, "ioctl(SIOCGIFFLAGS): %s",
138 if (ioctl(ifsock, SIOCSIFFLAGS, (caddr_t)&ifr) < 0) {
140 "ioctl(SIOCSIFFLAGS): %s", strerror(errno));
186 if (ioctl(ifsock, SIOCGIFFLAGS, &ifr) < 0) {
187 warnmsg(LOG_ERR, __FUNCTION__, "ioctl(SIOCGIFFLAGS) on %s: %s",
205 if (ioctl(ifsock, SIOCGIFMEDIA, (caddr_t)&ifmr) < 0) {
208 "ioctl(SIOCGIFMEDIA) on %s: %s",
214 * the SIOCGIFMEDIA ioctl
[all...]
/macosx-10.10/remote_cmds-47/talk.tproj/
H A Dio.c52 #include <sys/ioctl.h>
145 ioctl(0, FIONREAD, (void *) &nb);
/macosx-10.10/Heimdal-398.1.2/appl/telnet/telnet/
H A Dsys_bsd.c55 # define tcgetattr(f, t) ioctl(f, TCGETS, (char *)t)
60 # define tcgetattr(f, t) ioctl(f, TCGETA, (char *)t)
64 # define tcgetattr(f, t) ioctl(f, TIOCGETA, (char *)t)
67 # define tcsetattr(f, a, t) ioctl(f, a, (char *)t)
114 ioctl(0, TIOCLGET, (char *)&flush);
180 ioctl(fileno(stdout), TIOCFLUSH, (char *) 0);
182 ioctl(fileno(stdout), TCFLSH, (char *) 0);
509 ioctl(tin, FIONBIO, (char *)&onoff);
510 ioctl(tout, FIONBIO, (char *)&onoff);
631 ioctl(f
[all...]
/macosx-10.10/BerkeleyDB-21/db/os/
H A Dos_fsync.c25 * The results of ioctl are driver dependent. Some will return the
29 if ((ret = ioctl(fd, FIOSYNC, 0)) != ERROR)
/macosx-10.10/Heimdal-398.1.2/kuser/
H A Dkuser_locl.h77 #include <sys/ioctl.h>
/macosx-10.10/Libc-1044.1.2/include/
H A Dlibc.h55 #include <sys/ioctl.h>
/macosx-10.10/Libc-1044.1.2/uuid/uuidsrc/
H A Dgen_uuid.c55 #include <sys/ioctl.h>
116 if (ioctl (sd, SIOCGIFCONF, (char *)&ifc) < 0) {
125 if (ioctl(sd, SIOCGIFHWADDR, &ifr) < 0)
130 if (ioctl(sd, SIOCGENADDR, &ifr) < 0)
/macosx-10.10/Libinfo-459/rpc.subproj/
H A Dpmap_getmaps.c76 #include <sys/ioctl.h>
/macosx-10.10/NFS-82/nfsiod/
H A Dnfsiod.c60 #include <sys/ioctl.h>
/macosx-10.10/diskdev_cmds-576/fdisk.tproj/
H A Ddisk.c61 #include <sys/ioctl.h>
174 if (ioctl(fd, DKIOCGETBLOCKCOUNT, &size) == -1) {
179 if (ioctl(fd, DKIOCGETBLOCKSIZE, &sector_size) == -1) {
281 if (ioctl(fd, DKIOCGETBLOCKSIZE, &sector_size) == -1) {
/macosx-10.10/eap8021x-198/EAP8021X.fproj/
H A Deapol_socket.c47 #include <sys/ioctl.h>
179 if (ioctl(s, FIONBIO, &opt) < 0) {
229 if (ioctl(s, SIOCGIFMEDIA, (caddr_t)&ifm) < 0) {
245 if (ioctl(s, SIOCGIFMEDIA, (caddr_t)&ifm) == -1) {
/macosx-10.10/emacs-93/emacs/src/m/
H A Dibmrt-aix.h98 if ((ioctl (*ptyv, PTYSTATUS, 0) & 0xFFFF) != 0) \
/macosx-10.10/libutil-38/
H A Dwipefs.cpp30 #include <sys/ioctl.h>
145 if (ioctl(fd, DKIOCGETBLOCKSIZE, (char *)&nativeBlockSize) < 0) {
149 if (ioctl(fd, DKIOCGETBLOCKCOUNT, (char *)&numBlocks) < 0) {
259 ioctl(handle->fd, DKIOCUNMAP, (caddr_t)&unmap);
/macosx-10.10/ncurses-44/ncurses/ncurses/tinfo/
H A Dlib_kernel.c142 ioctl(cur_term->Filedes, TIOCFLUSH, 0);
/macosx-10.10/postfix-255/postfix/src/util/
H A Dstream_recv_fd.c61 if (ioctl(fd, I_RECVFD, &fdinfo) < 0)
H A Dstream_send_fd.c60 if (ioctl(fd, I_SENDFD, sendfd) < 0)
/macosx-10.10/tcl-105/tcl_ext/expect/expect/
H A Dexp_event.c234 if (ioctl(esPtr->fdin,TIOCREQCHECK,&ioctl_info) < 0) {
235 expDiagLog("ioctl error on TIOCREQCHECK: %s", Tcl_PosixError(interp));
241 if (ioctl(esPtr->fdin, TIOCREQSET, &ioctl_info) < 0) {
242 expDiagLog("ioctl error on TIOCREQSET after ioctl or open on slave: %s", Tcl_ErrnoMsg(errno));
298 if (ioctl(esPtr->fdin,TIOCREQCHECK,&ioctl_info) < 0) {
299 expDiagLog("ioctl error on TIOCREQCHECK: %s",
306 if (ioctl(esPtr->fdin, TIOCREQSET, &ioctl_info) < 0) {
307 expDiagLog("ioctl error on TIOCREQSET after ioctl o
[all...]
H A Dexp_tty_in.h74 # include <sys/ioctl.h>
/macosx-10.10/tcsh-65/tcsh/
H A Dmi.termios.c160 if (ioctl(filedes, TIOCGETP, &sgbuf) < 0
161 || ioctl(filedes, TIOCGETC, (struct sgttyb *) &tcbuf) < 0)
389 return ioctl(filedes, TIOCSETP, &sgbuf) < 0 &&
390 ioctl(filedes, TIOCSETC, (struct sgttyb *) &tcbuf) < 0 ?

Completed in 220 milliseconds

1234567891011>>