| /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.multi/ |
| multi-term-settings.c | 24 #include <termios.h> 38 struct termios termios; local 44 tcgetattr (0, &termios); 45 tcsetattr (0, TCSANOW, &termios);
|
| /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.multi/ |
| multi-term-settings.c | 24 #include <termios.h> 39 struct termios termios; local 45 tcgetattr (0, &termios); 46 tcsetattr (0, TCSANOW, &termios);
|
| /src/games/hack/ |
| hack.ioctl.c | 74 #include <termios.h> 77 static struct termios termios; variable in typeref:struct:termios 82 (void) tcgetattr(fileno(stdin), &termios); local 88 (void) tcsetattr(fileno(stdin), TCSADRAIN, &termios); local
|
| /src/lib/libterminfo/ |
| curterm.c | 38 #include <termios.h> 62 struct termios termios; local 69 if (tcgetattr(term->fildes, &termios) == 0) { 70 os = cfgetospeed(&termios);
|
| /src/external/bsd/ppp/dist/pppd/ |
| termios_linux.h | 3 * termios fuctions to support arbitrary baudrates (on Linux) 16 * flag in struct termios2/termios, defined in Linux headers <asm/ioctls.h> 18 * <termios.h>, it is not possible to use libc's termios functions and we need 25 * termios. 27 * Note that the Bnnn constants from <termios.h> need not be compatible with 38 #define termios termios2 macro 41 static inline int tcgetattr(int fd, struct termios *t) 50 static inline int tcsetattr(int fd, int a, const struct termios *t) 118 static inline speed_t cfgetospeed(const struct termios *t [all...] |
| /src/sys/arch/zaurus/stand/zboot/ |
| unixcons.c | 33 #include "termios.h" 51 struct linux_termios termios; local 86 linux_tcgetattr(fd, &termios); 87 if (linux_cfsetspeed(&termios, speed) < 0) { 89 if (linux_cfsetspeed(&termios, speed) < 0) 92 if (linux_tcsetattr(fd, LINUX_TCSETS, &termios) < 0)
|
| /src/external/gpl3/gdb/dist/gdb/ |
| ser-unix.c | 33 #include <termios.h> 38 struct termios termios; member in struct:hardwire_ttystate 84 if (tcgetattr (scb->fd, &state->termios) < 0) 93 if (tcsetattr (scb->fd, TCSANOW, &state->termios) < 0) 142 (int) state->termios.c_iflag, 143 (int) state->termios.c_oflag); 145 (int) state->termios.c_cflag, 146 (int) state->termios.c_lflag); 150 gdb_printf (stream, "c_line = 0x%x.\n", state->termios.c_line) [all...] |
| /src/external/gpl3/gdb.old/dist/gdb/ |
| ser-unix.c | 33 #include <termios.h> 38 struct termios termios; member in struct:hardwire_ttystate 84 if (tcgetattr (scb->fd, &state->termios) < 0) 93 if (tcsetattr (scb->fd, TCSANOW, &state->termios) < 0) 142 (int) state->termios.c_iflag, 143 (int) state->termios.c_oflag); 145 (int) state->termios.c_cflag, 146 (int) state->termios.c_lflag); 150 gdb_printf (stream, "c_line = 0x%x.\n", state->termios.c_line) [all...] |
| /src/sys/sys/ |
| termios.h | 1 /* $NetBSD: termios.h,v 1.36 2018/12/07 19:01:11 jakllsch Exp $ */ 31 * @(#)termios.h 8.3 (Berkeley) 3/28/94 192 struct termios { struct 203 * Commands passed to tcsetattr() for setting the termios structure. 272 speed_t cfgetispeed(const struct termios *); 273 speed_t cfgetospeed(const struct termios *); 274 int cfsetispeed(struct termios *, speed_t); 275 int cfsetospeed(struct termios *, speed_t); 276 int tcgetattr(int, struct termios *); 277 int tcsetattr(int, int, const struct termios *); [all...] |
| /src/usr.sbin/tprof/ |
| tprof_top.c | 53 #include <termios.h> 94 static struct termios termios_save; 223 struct termios termios; local 235 termios = termios_save; 236 termios.c_iflag |= BRKINT|IXON|IMAXBEL; 237 termios.c_oflag |= OPOST; 238 termios.c_lflag |= ISIG|IEXTEN; 239 termios.c_lflag &= ~(ICANON|ECHO); 240 tcsetattr(STDOUT_FILENO, TCSADRAIN, &termios); [all...] |
| /src/external/gpl3/gdb/dist/gdbserver/ |
| remote-utils.cc | 20 #include <termios.h> 358 struct termios termios; local 359 tcgetattr (remote_desc, &termios); 361 termios.c_iflag = 0; 362 termios.c_oflag = 0; 363 termios.c_lflag = 0; 364 termios.c_cflag &= ~(CSIZE | PARENB); 365 termios.c_cflag |= CLOCAL | CS8; 366 termios.c_cc[VMIN] = 1 [all...] |
| /src/external/gpl3/gdb.old/dist/gdbserver/ |
| remote-utils.cc | 20 #include <termios.h> 356 struct termios termios; local 357 tcgetattr (remote_desc, &termios); 359 termios.c_iflag = 0; 360 termios.c_oflag = 0; 361 termios.c_lflag = 0; 362 termios.c_cflag &= ~(CSIZE | PARENB); 363 termios.c_cflag |= CLOCAL | CS8; 364 termios.c_cc[VMIN] = 1 [all...] |