Searched refs:ioctl (Results 26 - 50 of 901) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dtcflush.c52 return (ioctl(fildes, TCFLSH, queue_selector));
H A Dtcgetattr.c46 return (ioctl(fildes, TCGETS, termios_p));
H A Dtcsendbreak.c41 * If duration is not 0, ioctl(fildes, TCSBRK, 0) is used also to
49 return (ioctl(fildes, TCSBRK, duration));
H A Disastream.c53 rval = ioctl(fd, I_CANPUT, 0);
H A Disatty.c50 if (ioctl(f, TCGETA, &tty) < 0) {
H A Dtcgetpgrp.c44 if (tcgetsid(fd) < 0 || ioctl(fd, TIOCGPGRP, &pgrp) < 0)
H A Dtcgetsid.c45 if ((ioctl(fd, TIOCGSID, &ttysid)) < 0 ||
H A Dtcsetpgrp.c44 return (ioctl(fd, TIOCSPGRP, &pgrp));
/illumos-gate/usr/src/lib/libast/common/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);
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dreset_sh.c57 (void) ioctl(cur_term->Filedes, DIOCSETT, &cur_term -> old);
70 (void) ioctl(cur_term -> Filedes, TCSETAW, &SHELLTTY);
72 (void) ioctl(cur_term -> Filedes, TCSETSW, &SHELLTTYS);
75 (void) ioctl(cur_term -> Filedes, TIOCLSET,
81 (void) ioctl(cur_term -> Filedes, TIOCSETN, &SHELLTTY);
84 (void) ioctl(cur_term -> Filedes, TIOCLSET,
H A Ddraino.c59 * Needs Berkeley TIOCOUTQ ioctl. Returns ERR if impossible.
74 int rv; /* ioctl return value */
78 rv = ioctl(cur_term->Filedes, TIOCOUTQ, &ncthere);
85 return (ERR); /* ioctl didn't work */
110 (void) ioctl(cur_term->Filedes, TCSETAW, &PROGTTY);
112 (void) ioctl(cur_term->Filedes, TCSETSW, &PROGTTYS);
114 (void) ioctl(cur_term->Filedes, TCSETAW, &PROGTTY);
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dposix_tty.c108 return (ioctl(fd, TCGETS, termios_p));
130 return (ioctl(fd, TCSETSW, termios_p));
132 return (ioctl(fd, TCSETSF, termios_p));
134 return (ioctl(fd, TCSETS, termios_p));
153 if (ioctl(fd, TCSBRK, 0) == -1)
165 return (ioctl(fd, TCSBRK, !0));
182 return (ioctl(fd, TCXONC, action));
200 return (ioctl(fd, TCFLSH, queue));
213 if (ioctl(fd, TIOCGETPGRP, &grp_id) == -1)
225 return (ioctl(f
[all...]
H A Dgetpass.c43 extern int ioctl();
74 (void) ioctl(fileno(fi), TCGETS, &ttyb);
77 (void) ioctl(fileno(fi), TCSETSF, &ttyb);
87 (void) ioctl(fileno(fi), TCSETSW, &ttyb);
/illumos-gate/usr/src/uts/common/io/lvm/notify/
H A Dmd_notify.c303 md_event_ioctl_t *ioctl = (md_event_ioctl_t *)data; local
306 ioctl->mdn_event = EQ_EMPTY;
307 ioctl->mdn_tag = TAG_EMPTY;
308 ioctl->mdn_set = MD_ALLSETS;
309 ioctl->mdn_dev = MD_ALLDEVS;
310 uniqtime32(&ioctl->mdn_time);
311 ioctl->mdn_user = (u_longlong_t)0;
324 * catastrophic since it breaks down ioctl single threading.
333 md_event_ioctl_t *ioctl, size_t sz,
351 ((void *)ioctl, ioctl_i
332 md_wait_for_event(md_event_queue_t *event_queue, void *ioctl_in, md_event_ioctl_t *ioctl, size_t sz, int mode, IOLOCK *lockp) argument
382 md_event_ioctl_t *ioctl; local
[all...]
/illumos-gate/usr/src/cmd/lp/filter/postscript/postio/
H A Difdef.c113 if ( ioctl(ttyi, TCGETS, &termios) < 0 ) {
114 if ( ioctl(ttyi, TCGETA, &termio) == -1 ) {
115 error(FATAL, "ioctl error - TCGETA");
125 if ( ioctl(ttyi, TCSETA, &termio) == -1 ) {
126 error(FATAL, "ioctl error - TCSETA");
137 if ( ioctl(ttyi, TCSETS, &termios) == -1 ) {
138 error(FATAL, "ioctl error - TCSETS");
142 if ( ioctl(ttyi, TCFLSH, 2) == -1 ) {
143 error(FATAL, "ioctl error - TCFLSH");
185 if ( ioctl(tty
[all...]
/illumos-gate/usr/src/lib/efcode/fcdriver/
H A DMakefile.com29 OBJECTS = ioctl.o misc.o dma.o property.o fcdebug.o phandle.o build_tree.o \
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dcheckrev.c9 #include <sys/ioctl.h>
33 if (ioctl(vfd, SIOCGETFS, &ipfo)) {
34 perror("ioctl(SIOCGETFS)");
/illumos-gate/usr/src/lib/libwrap/
H A Dfromhost.c51 if (ioctl(request->fd, I_FIND, "timod") > 0) {
/illumos-gate/usr/src/cmd/vt/
H A Dvtinfo.c48 if (ioctl(fd, VT_ENABLED, &result) != 0) {
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/io/
H A Dtst.fds.d32 syscall::ioctl:entry
38 syscall::ioctl:entry
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipf.c23 #include <sys/ioctl.h>
61 static ioctlfunc_t iocfunctions[IPL_LOGSIZE] = { ioctl, ioctl, ioctl,
62 ioctl, ioctl, ioctl,
63 ioctl, ioctl };
155 ipf_dotuning(fd, optarg, ioctl);
[all...]
/illumos-gate/usr/src/cmd/tip/aculib/
H A Dv831.c114 (void) ioctl(FD, TIOCMBIC, &dtr);
115 (void) ioctl(FD, TCGETS, &cntrl);
118 (void) ioctl(FD, TCSETSF, &cntrl);
136 (void) ioctl(FD, TCGETS, &buf);
138 (void) ioctl(FD, TCSETSF, &buf);
142 (void) ioctl(FD, TIOCMBIC, &dtr);
186 (void) ioctl(AC, TCGETS, &cntrl);
196 (void) ioctl(AC, TCSETSF, &cntrl);
197 (void) ioctl(AC, TCFLSH, TCOFLUSH);
H A Dventel.c54 (void) ioctl(FD, TCGETS, &buf);
56 (void) ioctl(FD, TCSETSF, &buf);
77 (void) ioctl(FD, TCFLSH, TCIOFLUSH);
182 * If you don't have the ioctl calls to diddle directly
185 (void) ioctl(FD, TIOCMBIC, &dtr);
187 (void) ioctl(FD, TIOCMBIS, &dtr);
207 if (ioctl(fd, FIONREAD, (caddr_t)&nread) < 0) {
208 perror("tip: ioctl");
/illumos-gate/usr/src/lib/pyzfs/common/
H A Ddataset.py29 import zfs.ioctl namespace
48 from zfs.ioctl.get_proptable, which should match the
72 for name, t in zfs.ioctl.get_proptable().iteritems():
91 zfs.ioctl which actually interface with the kernel to manipulate
107 props is the property settings dict from zfs.ioctl.next_dataset.
128 props = zfs.ioctl.dataset_props(name)
163 zfs.ioctl.next_dataset(self.name, False, cookie)
179 d = zfs.ioctl.userspace_many(self.name, prop)
186 return zfs.ioctl.userspace_upgrade(self.name)
197 return zfs.ioctl
[all...]
/illumos-gate/usr/src/lib/libshell/common/include/
H A Dterminal.h73 # define tcgetattr(fd,tty) ioctl(fd, TCGETS, tty)
75 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty)
106 # define tcgetattr(fd,tty) ioctl(fd, TCGETA, tty)
107 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty)
125 # define tcgetattr(fd,tty) ioctl(fd, TIOCGETP, tty)
126 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty)

Completed in 106 milliseconds

1234567891011>>