Home
last modified time | relevance | path

Searched refs:termio (Results 1 – 22 of 22) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/ioctl/
Dioctl02.c76 static struct termio termio, save_io; variable
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()
260 rval = ioctl(parentfd, TCGETA, &termio); in run_ptest()
290 if (termio.c_line != 0) { in chk_tty_parms()
[all …]
Dioctl01.c30 static struct termio termio; variable
35 struct termio *s_tio;
39 {&bfd, TCGETA, &termio, EBADF},
41 {&fd, TCGETA, (struct termio *)-1, EFAULT},
46 {&fd, INVAL_IOCTL, &termio, ENOTTY},
48 {&fd_file, TCGETA, &termio, ENOTTY},
/third_party/toybox/lib/
Dtty.c67 struct termios termio; in set_terminal() local
68 int i = tcgetattr(fd, &termio); in set_terminal()
72 if (old) *old = termio; in set_terminal()
79 termio.c_iflag = IXANY|ICRNL|INLCR; in set_terminal()
80 if (toys.which->flags & TOYFLAG_LOCALE) termio.c_iflag |= IUTF8; in set_terminal()
83 termio.c_oflag = ONLCR|OPOST; in set_terminal()
93 termio.c_lflag = ISIG|ICANON|ECHO|ECHOE|ECHOK|ECHOCTL|ECHOKE|IEXTEN; in set_terminal()
95 if (raw) cfmakeraw(&termio); in set_terminal()
106 cfsetspeed(&termio, i+1+4081*(i>15)); in set_terminal()
109 return tcsetattr(fd, TCSAFLUSH, &termio); in set_terminal()
/third_party/ltp/testcases/kernel/pty/
Dptem01.c56 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/ltp/include/lapi/
Dioctl.h29 struct termio struct
/third_party/curl/src/
Dtool_getpass.c177 # define struct_term struct termio
/third_party/skia/third_party/externals/libpng/contrib/gregbook/
Drpng-win.c101 struct termio old_tty, new_tty; in repl_getch()
Drpng2-win.c112 struct termio old_tty, new_tty; in repl_getch()
/third_party/libpng/contrib/gregbook/
Drpng-win.c101 struct termio old_tty, new_tty; in repl_getch()
Drpng2-win.c112 struct termio old_tty, new_tty; in repl_getch()
/third_party/openssl/crypto/ui/
Dui_openssl.c120 # define TTY_STRUCT struct termio
/third_party/ltp/
Dconfigure.ac204 AC_CHECK_TYPES([struct termio],,,[#include <sys/ioctl.h>])
/third_party/e2fsprogs/lib/
Dconfig.h.in442 /* Define to 1 if you have the <termio.h> header file. */
/third_party/curl/lib/
Dcurl_config.h.cmake647 /* Define to 1 if you have the <termio.h> header file. */
/third_party/mksh/
Dsh.h530 #define mksh_ttyst struct termio
/third_party/curl/
DCMakeLists.txt943 check_include_file_concat("termio.h" HAVE_TERMIO_H)
Dconfigure.ac3040 termio.h \
/third_party/e2fsprogs/
Dconfigure.ac986 termio.h
Dconfigure10461 …emaphore.h setjmp.h signal.h stdarg.h stdint.h stdlib.h termios.h termio.h unistd.h utime…
/third_party/python/
Dpyconfig.h.in1217 /* Define to 1 if you have the <sys/termio.h> header file. */
Dconfigure.ac2224 sys/stat.h sys/syscall.h sys/sys_domain.h sys/termio.h sys/time.h \
Dconfigure8100 sys/stat.h sys/syscall.h sys/sys_domain.h sys/termio.h sys/time.h \