/dports/lang/sagittarius-scheme/sagittarius-0.9.8/ext/termios/ |
H A D | win_termios.c | 55 return termios_p->c_ispeed; in cfgetispeed() 59 return termios_p->c_ospeed; in cfgetospeed() 64 termios_p->c_ispeed = ispeed; in cfsetispeed() 68 termios_p->c_ospeed = ospeed; in cfsetospeed() 213 termios_p->c_cflag |= PARENB; in tcgetattr() 232 termios_p->c_cflag |= CS8; break; in tcgetattr() 248 termios_p->c_ispeed = dcb.BaudRate; in tcgetattr() 249 termios_p->c_ospeed = dcb.BaudRate; in tcgetattr() 267 termios_p->c_lflag |= ECHOK; in tcgetattr() 268 termios_p->c_lflag |= ECHONL; in tcgetattr() [all …]
|
/dports/devel/zpu-binutils/zpu-toolchain-1.0/toolchain/gcc/newlib/libc/sys/linux/ |
H A D | cfspeed.c | 29 cfgetospeed (termios_p) in cfgetospeed() argument 30 const struct termios *termios_p; in cfgetospeed() 39 cfgetispeed (termios_p) in cfgetispeed() argument 40 const struct termios *termios_p; in cfgetispeed() 47 cfsetospeed (termios_p, speed) in cfsetospeed() argument 48 struct termios *termios_p; in cfsetospeed() 58 termios_p->c_cflag &= ~(CBAUD | CBAUDEX); 59 termios_p->c_cflag |= speed; 70 cfsetispeed (termios_p, speed) in cfsetispeed() argument 71 struct termios *termios_p; in cfsetispeed() [all …]
|
H A D | termios.c | 13 tcgetattr(int fd,struct termios *termios_p) in tcgetattr() argument 15 return ioctl(fd,TCGETS,termios_p); in tcgetattr() 20 tcsetattr(int fd,int optional_actions,const struct termios *termios_p) in tcsetattr() argument 38 return ioctl(fd,cmd,termios_p); in tcsetattr()
|
/dports/devel/arm-none-eabi-newlib/newlib-2.4.0/newlib/libc/sys/linux/ |
H A D | cfspeed.c | 29 cfgetospeed (termios_p) in cfgetospeed() argument 30 const struct termios *termios_p; in cfgetospeed() 39 cfgetispeed (termios_p) in cfgetispeed() argument 40 const struct termios *termios_p; in cfgetispeed() 47 cfsetospeed (termios_p, speed) in cfsetospeed() argument 48 struct termios *termios_p; in cfsetospeed() 58 termios_p->c_cflag &= ~(CBAUD | CBAUDEX); 59 termios_p->c_cflag |= speed; 70 cfsetispeed (termios_p, speed) in cfsetispeed() argument 71 struct termios *termios_p; in cfsetispeed() [all …]
|
H A D | termios.c | 13 tcgetattr(int fd,struct termios *termios_p) in tcgetattr() argument 15 return ioctl(fd,TCGETS,termios_p); in tcgetattr() 20 tcsetattr(int fd,int optional_actions,const struct termios *termios_p) in tcsetattr() argument 38 return ioctl(fd,cmd,termios_p); in tcsetattr()
|
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/gcc/newlib/libc/sys/linux/ |
H A D | cfspeed.c | 29 cfgetospeed (termios_p) in cfgetospeed() argument 30 const struct termios *termios_p; in cfgetospeed() 39 cfgetispeed (termios_p) in cfgetispeed() argument 40 const struct termios *termios_p; in cfgetispeed() 47 cfsetospeed (termios_p, speed) in cfsetospeed() argument 48 struct termios *termios_p; in cfsetospeed() 58 termios_p->c_cflag &= ~(CBAUD | CBAUDEX); 59 termios_p->c_cflag |= speed; 70 cfsetispeed (termios_p, speed) in cfsetispeed() argument 71 struct termios *termios_p; in cfsetispeed() [all …]
|
H A D | termios.c | 13 tcgetattr(int fd,struct termios *termios_p) in tcgetattr() argument 15 return ioctl(fd,TCGETS,termios_p); in tcgetattr() 20 tcsetattr(int fd,int optional_actions,const struct termios *termios_p) in tcsetattr() argument 38 return ioctl(fd,cmd,termios_p); in tcsetattr()
|
/dports/emulators/libdsk/libdsk-1.4.2/lib/ |
H A D | rpctios.c | 247 termios_p->c_oflag &= ~OPOST; in set_params() 250 termios_p->c_cflag &= ~(CSIZE|PARENB); in set_params() 252 if (self->crtscts) termios_p->c_cflag |= CRTSCTS; in set_params() 253 else termios_p->c_cflag &= ~CRTSCTS; in set_params() 255 termios_p->c_cflag &= ~CSTOPB; in set_params() 257 termios_p->c_cflag |= CS8; in set_params() 260 case 50: cfsetispeed(termios_p, B50); break; in set_params() 261 case 110: cfsetispeed(termios_p, B110); break; in set_params() 262 case 134: cfsetispeed(termios_p, B134); break; in set_params() 263 case 150: cfsetispeed(termios_p, B150); break; in set_params() [all …]
|
/dports/sysutils/diskonaut/diskonaut-0.11.0/cargo-crates/termios-0.3.2/src/ |
H A D | ffi.rs | 7 pub fn tcgetattr(fd: c_int, termios_p: *mut ::os::target::termios) -> c_int; in tcgetattr() 8 …pub fn tcsetattr(fd: c_int, optional_actions: c_int, termios_p: *const ::os::target::termios) -> c… in tcsetattr() 14 pub fn cfmakeraw(termios_p: *mut ::os::target::termios); in cfmakeraw() 15 pub fn cfgetispeed(termios_p: *const ::os::target::termios) -> ::os::target::speed_t; in cfgetispeed() 16 pub fn cfgetospeed(termios_p: *const ::os::target::termios) -> ::os::target::speed_t; in cfgetospeed() 17 … pub fn cfsetispeed(termios_p: *mut ::os::target::termios, speed: ::os::target::speed_t) -> c_int; in cfsetispeed() 18 … pub fn cfsetospeed(termios_p: *mut ::os::target::termios, speed: ::os::target::speed_t) -> c_int; in cfsetospeed() 20 pub fn cfsetspeed(termios_p: *mut ::os::target::termios, speed: ::os::target::speed_t) -> c_int; in cfsetspeed() 43 pub unsafe extern "C" fn cfsetspeed(termios_p: *mut ::os::target::termios, speed: ::os::target::spe… in cfsetspeed() 44 match cfsetispeed(termios_p, speed) { in cfsetspeed() [all …]
|
/dports/textproc/cast2gif/cast2gif-0.1.0/cargo-crates/termios-0.3.2/src/ |
H A D | ffi.rs | 7 pub fn tcgetattr(fd: c_int, termios_p: *mut ::os::target::termios) -> c_int; in tcgetattr() 8 …pub fn tcsetattr(fd: c_int, optional_actions: c_int, termios_p: *const ::os::target::termios) -> c… in tcsetattr() 14 pub fn cfmakeraw(termios_p: *mut ::os::target::termios); in cfmakeraw() 15 pub fn cfgetispeed(termios_p: *const ::os::target::termios) -> ::os::target::speed_t; in cfgetispeed() 16 pub fn cfgetospeed(termios_p: *const ::os::target::termios) -> ::os::target::speed_t; in cfgetospeed() 17 … pub fn cfsetispeed(termios_p: *mut ::os::target::termios, speed: ::os::target::speed_t) -> c_int; in cfsetispeed() 18 … pub fn cfsetospeed(termios_p: *mut ::os::target::termios, speed: ::os::target::speed_t) -> c_int; in cfsetospeed() 20 pub fn cfsetspeed(termios_p: *mut ::os::target::termios, speed: ::os::target::speed_t) -> c_int; in cfsetspeed() 43 pub unsafe extern "C" fn cfsetspeed(termios_p: *mut ::os::target::termios, speed: ::os::target::spe… in cfsetspeed() 44 match cfsetispeed(termios_p, speed) { in cfsetspeed() [all …]
|
/dports/emulators/qemu5/qemu-5.2.0/util/ |
H A D | qemu-openpty.c | 100 static void cfmakeraw (struct termios *termios_p) in cfmakeraw() argument 102 termios_p->c_iflag &= in cfmakeraw() 104 termios_p->c_oflag &= ~OPOST; in cfmakeraw() 105 termios_p->c_lflag &= ~(ECHO|ECHONL|ICANON|ISIG|IEXTEN); in cfmakeraw() 106 termios_p->c_cflag &= ~(CSIZE|PARENB); in cfmakeraw() 107 termios_p->c_cflag |= CS8; in cfmakeraw() 109 termios_p->c_cc[VMIN] = 0; in cfmakeraw() 110 termios_p->c_cc[VTIME] = 0; in cfmakeraw()
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/util/ |
H A D | qemu-openpty.c | 97 static void cfmakeraw (struct termios *termios_p) in cfmakeraw() argument 99 termios_p->c_iflag &= in cfmakeraw() 101 termios_p->c_oflag &= ~OPOST; in cfmakeraw() 102 termios_p->c_lflag &= ~(ECHO|ECHONL|ICANON|ISIG|IEXTEN); in cfmakeraw() 103 termios_p->c_cflag &= ~(CSIZE|PARENB); in cfmakeraw() 104 termios_p->c_cflag |= CS8; in cfmakeraw() 106 termios_p->c_cc[VMIN] = 0; in cfmakeraw() 107 termios_p->c_cc[VTIME] = 0; in cfmakeraw()
|
/dports/emulators/qemu42/qemu-4.2.1/util/ |
H A D | qemu-openpty.c | 97 static void cfmakeraw (struct termios *termios_p) in cfmakeraw() argument 99 termios_p->c_iflag &= in cfmakeraw() 101 termios_p->c_oflag &= ~OPOST; in cfmakeraw() 102 termios_p->c_lflag &= ~(ECHO|ECHONL|ICANON|ISIG|IEXTEN); in cfmakeraw() 103 termios_p->c_cflag &= ~(CSIZE|PARENB); in cfmakeraw() 104 termios_p->c_cflag |= CS8; in cfmakeraw() 106 termios_p->c_cc[VMIN] = 0; in cfmakeraw() 107 termios_p->c_cc[VTIME] = 0; in cfmakeraw()
|
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/util/ |
H A D | qemu-openpty.c | 97 static void cfmakeraw (struct termios *termios_p) in cfmakeraw() argument 99 termios_p->c_iflag &= in cfmakeraw() 101 termios_p->c_oflag &= ~OPOST; in cfmakeraw() 102 termios_p->c_lflag &= ~(ECHO|ECHONL|ICANON|ISIG|IEXTEN); in cfmakeraw() 103 termios_p->c_cflag &= ~(CSIZE|PARENB); in cfmakeraw() 104 termios_p->c_cflag |= CS8; in cfmakeraw() 106 termios_p->c_cc[VMIN] = 0; in cfmakeraw() 107 termios_p->c_cc[VTIME] = 0; in cfmakeraw()
|
/dports/emulators/qemu-utils/qemu-4.2.1/util/ |
H A D | qemu-openpty.c | 97 static void cfmakeraw (struct termios *termios_p) in cfmakeraw() argument 99 termios_p->c_iflag &= in cfmakeraw() 101 termios_p->c_oflag &= ~OPOST; in cfmakeraw() 102 termios_p->c_lflag &= ~(ECHO|ECHONL|ICANON|ISIG|IEXTEN); in cfmakeraw() 103 termios_p->c_cflag &= ~(CSIZE|PARENB); in cfmakeraw() 104 termios_p->c_cflag |= CS8; in cfmakeraw() 106 termios_p->c_cc[VMIN] = 0; in cfmakeraw() 107 termios_p->c_cc[VTIME] = 0; in cfmakeraw()
|
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/util/ |
H A D | qemu-openpty.c | 99 static void cfmakeraw (struct termios *termios_p) in cfmakeraw() argument 101 termios_p->c_iflag &= in cfmakeraw() 103 termios_p->c_oflag &= ~OPOST; in cfmakeraw() 104 termios_p->c_lflag &= ~(ECHO|ECHONL|ICANON|ISIG|IEXTEN); in cfmakeraw() 105 termios_p->c_cflag &= ~(CSIZE|PARENB); in cfmakeraw() 106 termios_p->c_cflag |= CS8; in cfmakeraw() 108 termios_p->c_cc[VMIN] = 0; in cfmakeraw() 109 termios_p->c_cc[VTIME] = 0; in cfmakeraw()
|
/dports/emulators/qemu/qemu-6.2.0/util/ |
H A D | qemu-openpty.c | 99 static void cfmakeraw (struct termios *termios_p) in cfmakeraw() argument 101 termios_p->c_iflag &= in cfmakeraw() 103 termios_p->c_oflag &= ~OPOST; in cfmakeraw() 104 termios_p->c_lflag &= ~(ECHO|ECHONL|ICANON|ISIG|IEXTEN); in cfmakeraw() 105 termios_p->c_cflag &= ~(CSIZE|PARENB); in cfmakeraw() 106 termios_p->c_cflag |= CS8; in cfmakeraw() 108 termios_p->c_cc[VMIN] = 0; in cfmakeraw() 109 termios_p->c_cc[VTIME] = 0; in cfmakeraw()
|
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/util/ |
H A D | qemu-openpty.c | 97 static void cfmakeraw (struct termios *termios_p) in cfmakeraw() argument 99 termios_p->c_iflag &= in cfmakeraw() 101 termios_p->c_oflag &= ~OPOST; in cfmakeraw() 102 termios_p->c_lflag &= ~(ECHO|ECHONL|ICANON|ISIG|IEXTEN); in cfmakeraw() 103 termios_p->c_cflag &= ~(CSIZE|PARENB); in cfmakeraw() 104 termios_p->c_cflag |= CS8; in cfmakeraw() 106 termios_p->c_cc[VMIN] = 0; in cfmakeraw() 107 termios_p->c_cc[VTIME] = 0; in cfmakeraw()
|
/dports/emulators/qemu60/qemu-6.0.0/util/ |
H A D | qemu-openpty.c | 100 static void cfmakeraw (struct termios *termios_p) in cfmakeraw() argument 102 termios_p->c_iflag &= in cfmakeraw() 104 termios_p->c_oflag &= ~OPOST; in cfmakeraw() 105 termios_p->c_lflag &= ~(ECHO|ECHONL|ICANON|ISIG|IEXTEN); in cfmakeraw() 106 termios_p->c_cflag &= ~(CSIZE|PARENB); in cfmakeraw() 107 termios_p->c_cflag |= CS8; in cfmakeraw() 109 termios_p->c_cc[VMIN] = 0; in cfmakeraw() 110 termios_p->c_cc[VTIME] = 0; in cfmakeraw()
|
/dports/net/mosh/mosh-1.3.2/src/util/ |
H A D | pty_compat.cc | 172 void my_cfmakeraw( struct termios *termios_p ) in my_cfmakeraw() argument 174 termios_p->c_iflag &= ~(IGNBRK | BRKINT | PARMRK | ISTRIP in my_cfmakeraw() 176 termios_p->c_oflag &= ~OPOST; in my_cfmakeraw() 177 termios_p->c_lflag &= ~(ECHO | ECHONL | ICANON | ISIG | IEXTEN); in my_cfmakeraw() 178 termios_p->c_cflag &= ~(CSIZE | PARENB); in my_cfmakeraw() 179 termios_p->c_cflag |= CS8; in my_cfmakeraw() 181 termios_p->c_cc[VMIN] = 1; // read() is satisfied after 1 char in my_cfmakeraw() 182 termios_p->c_cc[VTIME] = 0; // No timer in my_cfmakeraw()
|
/dports/emulators/libdsk/libdsk-1.4.2/tools/ |
H A D | serslave.c | 97 static void set_params (struct termios *termios_p); 172 static void set_params(struct termios *termios_p) in set_params() argument 176 termios_p->c_oflag &= ~OPOST; in set_params() 179 termios_p->c_cflag &= ~(CSIZE|PARENB); in set_params() 181 if (crtscts) termios_p->c_cflag |= CRTSCTS; in set_params() 182 else termios_p->c_cflag &= ~CRTSCTS; in set_params() 184 termios_p->c_cflag &= ~CSTOPB; in set_params() 186 termios_p->c_cflag |= CS8; in set_params() 189 case 50: cfsetispeed(termios_p, B50); break; in set_params() 190 case 110: cfsetispeed(termios_p, B110); break; in set_params() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/native_client_sdk/src/libraries/nacl_io/include/sys/ |
H A D | termios.h | 127 speed_t cfgetispeed(const struct termios* termios_p); 128 speed_t cfgetospeed(const struct termios* termios_p); 129 int cfsetispeed(struct termios* termios_p, speed_t speed); 130 int cfsetospeed(struct termios* termios_p, speed_t speed); 131 int cfsetspeed(struct termios* termios_p, speed_t speed); 136 int tcgetattr(int fd, struct termios* termios_p); 138 int tcsetattr(int fd, int optional_actions, const struct termios* termios_p);
|
/dports/comms/scmxx/scmxx-0.9.0/src/scmxx/ |
H A D | tty_serial.c | 169 static void tty_serial_makeraw(struct termios* termios_p) { in tty_serial_makeraw() argument 170 termios_p->c_iflag &= ~(IGNBRK|BRKINT|PARMRK|ISTRIP|INLCR|IGNCR|ICRNL|IXON); in tty_serial_makeraw() 171 termios_p->c_oflag &= ~OPOST; in tty_serial_makeraw() 172 termios_p->c_lflag &= ~(ECHO|ECHONL|ICANON|ISIG|IEXTEN); in tty_serial_makeraw() 173 termios_p->c_cflag &= ~(CSIZE|PARENB); in tty_serial_makeraw() 174 termios_p->c_cflag |= CS8; in tty_serial_makeraw() 179 static void tty_serial_speed_set (struct termios* termios_p, char* baud) { in tty_serial_speed_set() argument 180 cfsetispeed(termios_p, tty_serial_speed(baud)); //input at baudrate in tty_serial_speed_set() 181 cfsetospeed(termios_p, tty_serial_speed(baud)); //ouput at baudrate in tty_serial_speed_set() 183 static void tty_serial_timeout_set (struct termios* termios_p, uint8_t dsec) { in tty_serial_timeout_set() argument [all …]
|
/dports/x11/kitty/kitty-0.23.1/kitty/ |
H A D | data-types.c | 100 put_tty_in_raw_mode(int fd, const struct termios* termios_p, bool read_with_timeout, int optional_a… in put_tty_in_raw_mode() argument 101 struct termios raw_termios = *termios_p; in put_tty_in_raw_mode() 121 struct termios *termios_p = calloc(1, sizeof(struct termios)); in open_tty() local 122 if (!termios_p) return PyErr_NoMemory(); in open_tty() 123 …if (tcgetattr(fd, termios_p) != 0) { free(termios_p); PyErr_SetFromErrno(PyExc_OSError); return NU… in open_tty() 124 …if (!put_tty_in_raw_mode(fd, termios_p, read_with_timeout != 0, optional_actions)) { free(termios_… in open_tty() 125 return Py_BuildValue("iN", fd, PyLong_FromVoidPtr(termios_p)); in open_tty() 131 struct termios *termios_p = PyLong_AsVoidPtr(tp); 143 if (!put_tty_in_raw_mode(fd, termios_p, false, optional_actions)) return NULL; in raw_tty() 151 tcsetattr(fd, optional_actions, termios_p); // deliberately ignore failure in close_tty() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/native_client_sdk/src/libraries/nacl_io/syscalls/termios/ |
H A D | cfsetspeed.c | 16 int cfsetspeed(struct termios *termios_p, speed_t speed) { in cfsetspeed() argument 17 termios_p->c_ispeed = speed; in cfsetspeed() 18 termios_p->c_ospeed = speed; in cfsetspeed()
|