Home
last modified time | relevance | path

Searched refs:tcsetattr (Results 1 – 25 of 85) sorted by relevance

1234

/openbsd/lib/libcurses/
H A Dnc_termios.h57 #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 Dtest_tty.c75 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 Dscreen.c150 (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 Dtcsetattr.c36 tcsetattr(int fd, int opt, const struct termios *t) in tcsetattr() function
57 DEF_WEAK(tcsetattr);
H A DMakefile.inc7 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 Dsshtty.c59 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 Dexcallback.c112 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 Dcl_read.c194 (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 Dcl_funcs.c526 (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 Dcl_screen.c169 (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 Dttyio.c79 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 Dembedded_interpreter.py84 termios.tcsetattr(fd, termios.TCSADRAIN, new)
91 termios.tcsetattr(fd, termios.TCSADRAIN, old)
/openbsd/libexec/getty/
H A Dmain.c107 (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 Ddump.c52 if(tcsetattr(0, TCSANOW, &savetty) == -1) in reset_tty()
64 if(tcsetattr(0, TCSANOW, &newtty) == -1) in set_tty()
/openbsd/games/hack/
H A Dhack.tty.c140 if(tcsetattr(0, TCSADRAIN, &inittyb) == -1) in settty()
150 if(tcsetattr(0, TCSADRAIN, &curttyb) == -1) in setctty()
H A Dhack.ioctl.c83 (void) tcsetattr(fileno(stdin), TCSADRAIN, &termios); in setioctls()
/openbsd/lib/libc/gen/
H A Dreadpassphrase.c86 (void)tcsetattr(input, TCSAFLUSH|TCSASOFT, &term); in readpassphrase()
139 while (tcsetattr(input, TCSAFLUSH|TCSASOFT, &oterm) == -1 && in readpassphrase()
/openbsd/lib/libc/hidden/
H A Dtermios.h35 PROTO_NORMAL(tcsetattr);
/openbsd/lib/libcrypto/ui/
H A Dui_openssl.c332 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 Dsys_bsd.c214 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 Dtty.c32 while ((ret = tcsetattr(0, TCSADRAIN, t)) == -1 && errno == EINTR) in settty()
/openbsd/gnu/llvm/lldb/tools/driver/
H A DPlatform.cpp49 int tcsetattr(int fd, int optional_actions, const struct termios *termios_p) { in tcsetattr() function
H A DPlatform.h71 extern int tcsetattr(int fd, int optional_actions,
/openbsd/lib/libskey/
H A Dskeysubr.c365 (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 Dcu.c284 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()

1234