Home
last modified time | relevance | path

Searched refs:termio (Results 1 - 25 of 27) sorted by relevance

12

/third_party/ltp/testcases/kernel/syscalls/ioctl/
H A Dioctl02.c76 static struct termio termio, save_io; variable
219 * run_ptest() - setup the various termio structure values and issue
227 termio.c_line = 0; in run_ptest()
230 termio.c_cflag = B50 | CS7 | CREAD | PARENB | PARODD | CLOCAL; in run_ptest()
236 termio.c_cc[i] = CSTART; in run_ptest()
240 termio.c_lflag = in run_ptest()
244 termio.c_iflag = in run_ptest()
249 termio.c_oflag = OPOST | OLCUC | ONLCR | ONOCR; in run_ptest()
251 TEST(ioctl(parentfd, TCSETA, &termio)); in run_ptest()
[all...]
H A Dioctl01.c19 * - EFAULT: Pass a NULL address for termio
36 static struct termio termio; variable
46 {"File descriptor is invalid (termio)", &bfd, TCGETA, &termio, EBADF},
48 {"Termio address is invalid", &fd, TCGETA, (struct termio *)-1, EFAULT},
53 {"Command is invalid", &fd, INVAL_IOCTL, &termio, ENOTTY},
54 {"File descriptor is for a regular file (termio)", &fd_file, TCGETA, &termio, ENOTTY},
/third_party/toybox/lib/
H A Dtty.c81 struct termios termio; in set_terminal() local
82 int i = tcgetattr(fd, &termio); in set_terminal()
86 if (old) *old = termio; in set_terminal()
93 termio.c_iflag = IXANY|ICRNL|INLCR; in set_terminal()
94 if (toys.which->flags & TOYFLAG_LOCALE) termio.c_iflag |= IUTF8; in set_terminal()
97 termio.c_oflag = ONLCR|OPOST; in set_terminal()
100 // termio.c_cflag = C_READ|CS8|EXTB; in set_terminal()
107 termio.c_lflag = ISIG|ICANON|ECHO|ECHOE|ECHOK|ECHOCTL|ECHOKE|IEXTEN; in set_terminal()
109 if (raw) cfmakeraw(&termio); in set_terminal()
120 cfsetspeed(&termio, in set_terminal()
[all...]
/third_party/ltp/testcases/kernel/pty/
H A Dptem01.c50 * test termio/termios ioctls
56 struct termio termio; in test1() local
98 if (ioctl(slavefd, TCGETA, &termio) != 0) { in test1()
102 if (ioctl(slavefd, TCSETA, &termio) != 0) { in test1()
106 if (ioctl(slavefd, TCSETAW, &termio) != 0) { in test1()
110 if (ioctl(slavefd, TCSETAF, &termio) != 0) { in test1()
/third_party/curl/src/
H A Dtool_getpass.c40 # include <termio.h>
132 # define struct_term struct termio
H A Dtool_cb_prg.c46 # include <termio.h>
/third_party/ltp/include/lapi/
H A Dioctl.h29 struct termio struct
/third_party/node/deps/openssl/openssl/crypto/ui/
H A Dui_openssl.c115 # include <termio.h>
116 # define TTY_STRUCT struct termio
/third_party/openssl/crypto/ui/
H A Dui_openssl.c115 # include <termio.h>
116 # define TTY_STRUCT struct termio
/third_party/skia/third_party/externals/libpng/contrib/gregbook/
H A Drpng-win.c95 #include <termio.h>
101 struct termio old_tty, new_tty; in repl_getch()
H A Drpng2-win.c106 #include <termio.h>
112 struct termio old_tty, new_tty; in repl_getch()
/third_party/python/Include/
H A Dpyport.h452 /* On QNX 6, struct termio must be declared by including sys/termio.h
453 if TCGETA, TCSETA, TCSETAW, or TCSETAF are used. sys/termio.h must
456 #include <sys/termio.h>
/third_party/mksh/
H A Dsh.h101 #include <termio.h>
530 #define mksh_ttyst struct termio
/third_party/rust/crates/linux-raw-sys/src/aarch64/
H A Dgeneral.rs4171 pub struct termio { structure names
/third_party/rust/crates/linux-raw-sys/src/riscv64/
H A Dgeneral.rs4169 pub struct termio { structure names
/third_party/rust/crates/linux-raw-sys/src/riscv32/
H A Dgeneral.rs4149 pub struct termio { structure names
/third_party/rust/crates/linux-raw-sys/src/powerpc64/
H A Dgeneral.rs4313 pub struct termio { structure names
/third_party/rust/crates/linux-raw-sys/src/mips64/
H A Dgeneral.rs4383 pub struct termio { structure names
/third_party/rust/crates/linux-raw-sys/src/powerpc/
H A Dgeneral.rs4341 pub struct termio { structure names
/third_party/rust/crates/linux-raw-sys/src/mips/
H A Dgeneral.rs4447 pub struct termio { structure names
/third_party/rust/crates/linux-raw-sys/src/arm/
H A Dgeneral.rs4255 pub struct termio { structure names
/third_party/rust/crates/linux-raw-sys/src/sparc/
H A Dgeneral.rs4491 pub struct termio { structure names
/third_party/rust/crates/linux-raw-sys/src/s390x/
H A Dgeneral.rs4229 pub struct termio { structure names
/third_party/rust/crates/linux-raw-sys/src/sparc64/
H A Dgeneral.rs4461 pub struct termio { structure names
/third_party/rust/crates/linux-raw-sys/src/x32/
H A Dgeneral.rs4198 pub struct termio { structure names

Completed in 168 milliseconds

12