termiox
struct termiox termiox;
if (Pread(Proc, &termiox, sizeof (termiox), offset)
== sizeof (termiox)) {
termiox.x_hflag,
termiox.x_cflag,
termiox.x_rflag[0]);
(void) printf(",0%.3o", termiox.x_rflag[i]);
termiox.x_sflag);
if ((term = get_ttymode(0, &ocb, &cb, &stio, &termiox, &winsize
s_arg = sttyparse(argc, argv, term, &ocb, &cb, &termiox, &winsize,
s_arg = sttyparse(argc, argv, term, &ocb, &cb, &termiox, &winsize);
if (set_ttymode(0, term, &ocb, &cb, &stio, &termiox, &winsize, &owinsize
m = termiox.x_hflag;
m = termiox.x_cflag;
m = termiox.x_hflag;
static struct termiox termiox;
m = termiox.x_cflag;
termiox->x_hflag &= ~hmodes[i].reset;
termiox->x_hflag |= hmodes[i].set;
termiox->x_cflag &= ~clkmodes[i].reset;
termiox->x_cflag |= clkmodes[i].set;
struct stio *stermio, struct termiox *termiox, struct winsize *winsize
if (ioctl(fd, TCGETX, termiox) == 0)
struct stio *stermio, struct termiox *termiox, struct winsize *winsize,
if (ioctl(fd, TCSETXW, termiox) == -1)
struct termios *cb, struct termiox *termiox, struct winsize *winsize
struct termios *, struct termiox *, struct winsize *,
struct stio *, struct termiox *, struct winsize *,
struct stio *, struct termiox *, struct winsize *,
struct termios *, struct termiox *, struct winsize *);
struct stio *, struct termiox *, struct winsize *);
struct stio *, struct termiox *, struct winsize *,
&termiox, &winsize)) != NULL) {
&termiox, &winsize, &owinsize) != 0) {
struct termiox termiox;
&termiox, &winsize)) < 0) {
struct termiox termiox;
&termiox, &winsize)) != NULL) {
&ocb, &cb, &stio, &termiox, &winsize)) < 0) {
&ocb, &cb, &stio, &termiox, &winsize)) < 0) {
&ocb, &cb, &stio, &termiox, &winsize)) < 0) {
term, &ocb, &cb, &termiox, &winsize)) {
term, &ocb, &cb, &stio, &termiox, &winsize, &owinsize) == -1) {
m = termiox.x_hflag;
m = termiox.x_cflag;
static struct termiox termiox;
m = termiox.x_hflag;
m = termiox.x_cflag;
termiox->x_hflag &= ~hmodes[i].reset;
termiox->x_hflag |= hmodes[i].set;
termiox->x_cflag &= ~clkmodes[i].reset;
termiox->x_cflag |= clkmodes[i].set;
get_ttymode(fd, termio, termios, stermio, termiox, winsize)
struct termiox *termiox;
if(ioctl(fd, TCGETX, termiox) == 0)
set_ttymode(fd, term, termio, termios, stermio, termiox, winsize, owinsize)
struct termiox *termiox;
if(ioctl(fd, TCSETXW, termiox) == -1)
sttyparse(argc, argv, term, ocb, cb, termiox, winsize)
struct termiox *termiox;