Searched refs:ioctl (Results 1 - 25 of 729) sorted by relevance

1234567891011>>

/macosx-10.10/emacs-93/emacs/mac/inc/sys/
H A Dioctl.h1 /* Replacement sys/ioctl.h file for building GNU Emacs on the Macintosh.
27 int ioctl(int, int, void *);
/macosx-10.10/Libc-1044.1.2/net/FreeBSD/
H A Dsockatmark.c27 #include <sys/ioctl.h>
33 if (ioctl(s, SIOCATMARK, &atmark) == -1)
/macosx-10.10/ruby-106/ruby/nacl/
H A Dioctl.h5 int ioctl(int fd, int request, ...);
/macosx-10.10/Libc-1044.1.2/emulated/
H A Dtcgetsid.c27 #include <sys/ioctl.h>
36 if (ioctl(fildes, TIOCGSID, (char *)&sid) < 0)
/macosx-10.10/emacs-93/emacs/src/s/
H A Dptx4-2.h7 if (ioctl (xforkin, I_PUSH, "ptem") == -1) \
8 fatal ("ioctl I_PUSH ptem", errno); \
9 if (ioctl (xforkin, I_PUSH, "ldterm") == -1) \
10 fatal ("ioctl I_PUSH ldterm", errno);
H A Dptx4.h53 if (ioctl (xforkin, I_PUSH, "ptem") == -1 && errno != EINVAL) \
54 fatal ("ioctl I_PUSH ptem", errno); \
55 if (ioctl (xforkin, I_PUSH, "ldterm") == -1) \
56 fatal ("ioctl I_PUSH ldterm", errno); \
57 if (ioctl (xforkin, I_PUSH, "ttcompat") == -1 && errno != EINVAL) \
58 fatal ("ioctl I_PUSH ttcompat", errno);
/macosx-10.10/Libc-1044.1.2/include/
H A Dsgtty.h44 #include <sys/ioctl.h>
51 #define gtty(fd, buf) ioctl(fd, TIOCGETP, buf)
52 #define stty(fd, buf) ioctl(fd, TIOCSETP, buf)
/macosx-10.10/Libc-1044.1.2/stdlib/
H A Dgrantpt.c25 #include <sys/ioctl.h>
53 return ioctl(fd, TIOCPTYGRANT);
74 error = ioctl(fd, TIOCPTYGNAME, ptsnamebuf);
98 return ioctl(fd, TIOCPTYUNLK);
/macosx-10.10/xnu-2782.1.97/bsd/sys/
H A Dvcmd.h67 #include <sys/ioctl.h>
/macosx-10.10/Libc-1044.1.2/util/
H A Dlogin_tty.c36 #include <sys/ioctl.h>
42 if (ioctl(fd, TIOCSCTTY, (char *)NULL) == -1)
/macosx-10.10/bind9-45.101/bind9/contrib/nslint-2.1a3/lbl/
H A Dos-osf3.h26 int ioctl(int, int, caddr_t);
H A Dos-ultrix4.h35 int ioctl(int, int, caddr_t);
/macosx-10.10/postfix-255/postfix/src/util/
H A Dpeekfd.c36 #include <sys/ioctl.h>
60 return (ioctl(fd, FIONREAD, (char *) &count) < 0 ? -1 : count);
/macosx-10.10/xnu-2782.1.97/libsyscall/wrappers/
H A Dioctl.c26 #include <sys/ioctl.h>
36 ioctl(int d, unsigned long request, ...) function
/macosx-10.10/tcsh-65/tcsh/
H A Dtc.disc.c75 if (ioctl(f, TCGETA, (ioctl_t) & termiob) == 0) {
84 if (ioctl(f, TCSETA, (ioctl_t) & termiob) != 0)
104 if (ioctl(f, TCGETA, (ioctl_t) & termiob) == 0) {
109 if (ioctl(f, TIOCGLTC, (ioctl_t) & ltcbuf) != 0)
118 if (ioctl(f, TIOCSLTC, (ioctl_t) & ltcbuf) != 0)
122 if (ioctl(f, TCSETAF, (ioctl_t) & termiob) != 0)
138 if (ioctl(f, TXGETLD, (ioctl_t) & tx) == 0) {
140 if (ioctl(f, TXADDCD, (ioctl_t) strPOSIX) == 0) {
152 if (ioctl(f, TIOCGETD, (ioctl_t) & oldisc) == 0) {
156 if (ioctl(
[all...]
/macosx-10.10/tcl-105/tcl_ext/expect/expect/
H A Dexp_console.c3 reference TIOCCONS and include both sys/ioctl.h and sys/sys/stropts.h
5 is that both define _IO but only ioctl.h checks to see if it is
7 ioctl.h after stropts.h. Unfortunately, ioctl.h, having seen that _IO
20 #include <sys/ioctl.h>
57 if (ioctl(fd, SRIOCSREDIR, 0) == -1) {
66 if (ioctl(0,TIOCCONS,(char *)&on) == -1) {
H A Dpty_sgttyb.c20 /*** #include <sys/ioctl.h> ***/
97 if (-1 == ioctl(fd, TIOCGETP, (char *)&exp_tty_original)
98 || -1 == ioctl(fd, TIOCGETC, (char *)&tc)
99 || -1 == ioctl(fd, TIOCGETD, (char *)&l)
100 || -1 == ioctl(fd, TIOCGLTC, (char *)&lc)
101 || -1 == ioctl(fd, TIOCLGET, (char *)&lb)
102 || -1 == ioctl(fd, TIOCGWINSZ, (char *)&win)) {
107 ioctl(fd,TIOCGWINSZ,&winsize);
110 ioctl(fd,TIOCGSIZE,&winsize);
114 (void) ioctl(f
[all...]
H A Dexp_win.c30 conflicts with sys/ioctl.h
36 # include <sys/ioctl.h>
40 /* Instead, it has to come from ioctl.h. However, As I said above, this */
43 # include <sys/ioctl.h>
85 ioctl(fd,TIOCSWINSZ,&winsize);
88 ioctl(fd,TIOCSSIZE,&winsize);
96 ioctl(fd,TIOCGWINSZ,&winsize);
99 ioctl(fd,TIOCGSIZE,&winsize);
149 ioctl(fd,TIOCSWINSZ,&win2size);
152 ioctl(f
[all...]
/macosx-10.10/OpenLDAP-499.27/OpenLDAP/include/ac/
H A Dtermios.h24 #include <sys/ioctl.h>
38 #include <sys/ioctl.h>
43 #define GETATTR( fd, tiop ) ioctl((fd), TIOCGETP, (caddr_t)(tiop))
44 #define SETATTR( fd, tiop ) ioctl((fd), TIOCSETP, (caddr_t)(tiop))
/macosx-10.10/ksh-23/ksh/src/lib/libast/port/
H A Dastwinsize.c33 __STDPP__directive pragma pp:hide ioctl sleep
35 #define ioctl ______ioctl
40 #include <sys/ioctl.h>
63 __STDPP__directive pragma pp:nohide ioctl sleep
65 #undef ioctl
120 * tty ioctl() -- no cache
131 if (!ioctl(fd, op, tt)) return(0);
134 v = ioctl(fd, op, tt);
139 else if (!ioctl(fd, op, tt)) return(0);
/macosx-10.10/sudo-73/src/
H A Dsetsid.c21 #include <sys/ioctl.h>
44 (void) ioctl(fd, TIOCNOTTY, NULL);
H A Dterm.c47 # include <sys/ioctl.h>
81 # define tcgetattr(f, t) ioctl(f, TCGETA, t)
82 # define tcsetattr(f, a, t) ioctl(f, a, t)
91 # define tcgetattr(f, t) ioctl(f, TIOCGETP, t)
92 # define tcsetattr(f, a, t) ioctl(f, a, t)
222 if (!changed && ioctl(fd, TIOCGETP, &oterm) != 0)
229 if (ioctl(fd, TIOCSETP, &term) == 0) {
240 if (!changed && ioctl(fd, TIOCGETP, &oterm) != 0)
246 if (ioctl(fd, TIOCSETP, &term) == 0) {
265 if (ioctl(sr
[all...]
/macosx-10.10/OpenSSH-189/openssh/openbsd-compat/
H A Dbsd-nextstep.c49 return (ioctl(fd, TIOCGETA, t));
64 return (ioctl(fd, TIOCSETA, t));
66 return (ioctl(fd, TIOCSETAW, t));
68 return (ioctl(fd, TIOCSETAF, t));
77 return (ioctl(fd, TIOCSPGRP, &pgrp));
/macosx-10.10/Libc-1044.1.2/gen/FreeBSD/
H A Disatty.c40 #include <sys/ioctl.h>
50 if(ioctl(fd, FIODTYPE, &type) != -1) {
/macosx-10.10/dtrace-147/test/tst/common/dtraceUtil/
H A Dtst.DestructWithFunction.d.ksh45 $dtrace -qwf ioctl'{ chill(15); printf("Done chilling"); exit(0);}'

Completed in 331 milliseconds

1234567891011>>