/openbsd/lib/libcurses/ |
H A D | nc_termios.h | 57 #ifndef tcsetattr 58 #define tcsetattr(fd, cmd, arg) ioctl(fd, cmd, arg) macro 148 #ifndef tcsetattr 149 #define tcsetattr(fd, opt, arg) _nc_mingw_tcsetattr(fd, opt, arg) macro
|
/openbsd/regress/sys/kern/pledge/generic/ |
H A D | test_tty.c | 75 if (tcsetattr(fd, TCSANOW, &ts) == -1) in test_request_tty() 79 if (tcsetattr(fd, TCSADRAIN, &ts) == -1) in test_request_tty() 83 if (tcsetattr(fd, TCSAFLUSH, &ts) == -1) in test_request_tty()
|
/openbsd/usr.bin/top/ |
H A D | screen.c | 150 (void) tcsetattr(STDOUT_FILENO, TCSADRAIN, &new_settings); in init_screen() 180 (void) tcsetattr(STDOUT_FILENO, TCSADRAIN, &old_settings); in end_screen() 189 (void) tcsetattr(STDOUT_FILENO, TCSADRAIN, &new_settings); in reinit_screen()
|
/openbsd/lib/libc/termios/ |
H A D | tcsetattr.c | 36 tcsetattr(int fd, int opt, const struct termios *t) in tcsetattr() function 57 DEF_WEAK(tcsetattr);
|
H A D | Makefile.inc | 7 tcsendbreak.c tcsetattr.c tcsetpgrp.c tcgetsid.c 9 MAN+= tcgetpgrp.3 tcsendbreak.3 tcsetattr.3 tcsetpgrp.3 tcgetsid.3
|
/openbsd/usr.bin/ssh/ |
H A D | sshtty.c | 59 if (tcsetattr(fileno(stdin), TCSADRAIN, &_saved_tio) == -1) { in leave_raw_mode() 89 if (tcsetattr(fileno(stdin), TCSADRAIN, &tio) == -1) { in enter_raw_mode()
|
/openbsd/gnu/lib/libreadline/examples/ |
H A D | excallback.c | 112 if( tcsetattr(STDIN_FILENO, TCSANOW, &term) < 0 ) { in main() 144 if( tcsetattr(STDIN_FILENO, TCSANOW, &term) < 0 ) { in process_line()
|
/openbsd/usr.bin/vi/cl/ |
H A D | cl_read.c | 194 (void)tcsetattr(STDIN_FILENO, in cl_read() 197 (void)tcsetattr(STDIN_FILENO, in cl_read() 268 (void)tcsetattr(STDIN_FILENO, TCSASOFT | TCSADRAIN, &term1); in cl_read()
|
H A D | cl_funcs.c | 526 (void)tcsetattr(STDIN_FILENO, in cl_suspend() 537 (void)tcsetattr(STDIN_FILENO, TCSASOFT | TCSADRAIN, &t); in cl_suspend() 573 (void)tcsetattr(STDIN_FILENO, TCSADRAIN | TCSASOFT, &clp->orig); in cl_suspend()
|
H A D | cl_screen.c | 169 (void)tcsetattr(STDIN_FILENO, TCSADRAIN | TCSASOFT, &clp->orig); in cl_quit() 353 if (tcsetattr(STDIN_FILENO, TCSASOFT | TCSADRAIN, &clp->vi_enter)) { in cl_vi_init() 462 fast: if (tcsetattr(STDIN_FILENO, TCSADRAIN | TCSASOFT, &clp->ex_enter)) { in cl_ex_init()
|
/openbsd/usr.bin/mg/ |
H A D | ttyio.c | 79 if (tcsetattr(0, TCSASOFT | TCSADRAIN, &newtty) == -1) { in ttraw() 113 if (tcsetattr(0, TCSASOFT | TCSADRAIN, &oldtty) == -1) { in ttcooked()
|
/openbsd/gnu/llvm/lldb/source/Interpreter/ |
H A D | embedded_interpreter.py | 84 termios.tcsetattr(fd, termios.TCSADRAIN, new) 91 termios.tcsetattr(fd, termios.TCSADRAIN, old)
|
/openbsd/libexec/getty/ |
H A D | main.c | 107 (void)tcsetattr(0, TCSANOW, &tmode); in dingdong() 290 if (tcsetattr(0, TCSANOW, &tmode) == -1) { in main() 338 if (tcsetattr(0, TCSANOW, &tmode) == -1) { in main() 380 if (tcsetattr(0, TCSANOW, &tmode) == -1) { in getname()
|
/openbsd/gnu/usr.sbin/mkhybrid/src/diag/ |
H A D | dump.c | 52 if(tcsetattr(0, TCSANOW, &savetty) == -1) in reset_tty() 64 if(tcsetattr(0, TCSANOW, &newtty) == -1) in set_tty()
|
/openbsd/games/hack/ |
H A D | hack.tty.c | 140 if(tcsetattr(0, TCSADRAIN, &inittyb) == -1) in settty() 150 if(tcsetattr(0, TCSADRAIN, &curttyb) == -1) in setctty()
|
H A D | hack.ioctl.c | 83 (void) tcsetattr(fileno(stdin), TCSADRAIN, &termios); in setioctls()
|
/openbsd/lib/libc/gen/ |
H A D | readpassphrase.c | 86 (void)tcsetattr(input, TCSAFLUSH|TCSASOFT, &term); in readpassphrase() 139 while (tcsetattr(input, TCSAFLUSH|TCSASOFT, &oterm) == -1 && in readpassphrase()
|
/openbsd/lib/libc/hidden/ |
H A D | termios.h | 35 PROTO_NORMAL(tcsetattr);
|
/openbsd/lib/libcrypto/ui/ |
H A D | ui_openssl.c | 332 if (is_a_tty && (tcsetattr(fileno(tty_in), TCSANOW, &tty_new) == -1)) in noecho_console() 340 if (is_a_tty && (tcsetattr(fileno(tty_in), TCSANOW, &tty_orig) == -1)) in echo_console()
|
/openbsd/usr.bin/telnet/ |
H A D | sys_bsd.c | 214 tcsetattr(tin, TCSADRAIN, &tmp_tc); in TerminalNewMode() 358 if (isatty(tin) && tcsetattr(tin, TCSADRAIN, &tmp_tc) == -1) in TerminalNewMode() 359 tcsetattr(tin, TCSANOW, &tmp_tc); in TerminalNewMode()
|
/openbsd/usr.bin/bc/ |
H A D | tty.c | 32 while ((ret = tcsetattr(0, TCSADRAIN, t)) == -1 && errno == EINTR) in settty()
|
/openbsd/gnu/llvm/lldb/tools/driver/ |
H A D | Platform.cpp | 49 int tcsetattr(int fd, int optional_actions, const struct termios *termios_p) { in tcsetattr() function
|
H A D | Platform.h | 71 extern int tcsetattr(int fd, int optional_actions,
|
/openbsd/lib/libskey/ |
H A D | skeysubr.c | 365 (void) tcsetattr(fileno(stdin), TCSAFLUSH|TCSASOFT, &term); in skey_echo() 370 (void) tcsetattr(fileno(stdin), TCSAFLUSH|TCSASOFT, &term); in skey_echo()
|
/openbsd/usr.bin/cu/ |
H A D | cu.c | 284 if (tcsetattr(STDIN_FILENO, TCSAFLUSH, &tio) != 0) in set_termios() 292 tcsetattr(STDIN_FILENO, TCSAFLUSH, &saved_tio); in restore_termios() 309 if (tcsetattr(line_fd, TCSAFLUSH, &tio) != 0) in set_line()
|