Searched refs:termios (Results 1 - 25 of 50) sorted by relevance

12

/haiku/src/libs/bsd/
H A Dtermios.c8 #include <termios.h>
12 cfsetspeed(struct termios *termios, speed_t speed) argument
17 termios->c_cflag |= CBAUD;
18 termios->c_ispeed = speed;
19 termios->c_ospeed = speed;
23 termios->c_cflag &= ~CBAUD;
24 termios->c_cflag |= speed;
H A Dgetpass.c13 #include <termios.h>
21 struct termios termios; local
26 if (tcgetattr(fileno(stdin), &termios) == 0) {
27 struct termios noEchoTermios = termios;
50 // Restore termios setting
52 tcsetattr(fileno(stdin), TCSAFLUSH, &termios); local
H A Dpty.cpp16 openpty(int* _master, int* _slave, char* name, struct termios* termAttrs,
68 forkpty(int* _master, char* name, struct termios* termAttrs,
H A Dreadpassphrase.c30 #include <termios.h>
48 struct termios term, oterm;
/haiku/src/system/libroot/posix/
H A Dtermios.c9 #include <termios.h>
18 tcgetattr(int fd, struct termios *termios) argument
20 return ioctl(fd, TCGETA, termios);
26 tcsetattr(int fd, int opt, const struct termios *termios) argument
49 return ioctl(fd, method, termios);
57 /* Some termios implementations have a TIOCDRAIN command
106 cfgetispeed(const struct termios *termios) argument
116 cfsetispeed(struct termios *termios, speed_t speed) argument
135 cfgetospeed(const struct termios *termios) argument
145 cfsetospeed(struct termios *termios, speed_t speed) argument
161 cfmakeraw(struct termios *termios) argument
[all...]
/haiku/headers/compatibility/bsd/
H A Dtermios.h9 #include_next <termios.h>
20 extern int cfsetspeed(struct termios *termios, speed_t speed);
H A Dpty.h14 #include <termios.h>
20 struct termios* termAttrs, struct winsize* windowSize);
23 struct termios* termAttrs, struct winsize* windowSize);
/haiku/headers/private/drivers/
H A Dtty.h8 #include <termios.h>
/haiku/src/system/libroot/posix/unistd/
H A Dterminal.c10 #include <termios.h>
23 struct termios termios; local
25 return _kern_ioctl(fd, TCGETA, &termios, sizeof(struct termios)) == B_OK;
/haiku/headers/posix/sys/
H A Dioctl.h9 #include <termios.h>
/haiku/src/add-ons/print/drivers/lpstyl/
H A DLpstylData.cpp12 #include <termios.h>
/haiku/src/add-ons/kernel/generic/tty/
H A Dmodule.cpp30 kprintf(" termios:\n");
31 kprintf(" c_iflag: 0x%08" B_PRIx32 "\n", settings.termios.c_iflag);
32 kprintf(" c_oflag: 0x%08" B_PRIx32 "\n", settings.termios.c_oflag);
33 kprintf(" c_cflag: 0x%08" B_PRIx32 "\n", settings.termios.c_cflag);
34 kprintf(" c_lflag: 0x%08" B_PRIx32 "\n", settings.termios.c_lflag);
35 kprintf(" c_line: %d\n", settings.termios.c_line);
36 kprintf(" c_ispeed: %u\n", settings.termios.c_ispeed);
37 kprintf(" c_ospeed: %u\n", settings.termios.c_ospeed);
39 kprintf(" c_cc[%02d]: %d\n", i, settings.termios.c_cc[i]);
H A Dtty.cpp50 tty::lock: Guards the access to tty::{input_buffer,settings::{termios,
511 && fSource->settings->termios.c_lflag & ECHO) != 0;
618 || (fSource->settings->termios.c_lflag & TOSTOP) == 0) {
722 if (!fTTY->is_master && (fTTY->settings->termios.c_lflag & ICANON) != 0) {
724 fTTY->settings->termios.c_cc[VEOL],
725 fTTY->settings->termios.c_cc[VEOF]);
754 reset_termios(struct termios& termios) argument
756 memset(&termios, 0, sizeof(struct termios));
804 const termios& termios = tty->settings->termios; local
959 const termios& termios = tty->settings->termios; local
1015 const termios& termios = tty->settings->termios; local
[all...]
H A Dtty_private.h8 #include <termios.h>
124 struct termios termios; member in struct:tty_settings
/haiku/headers/posix/
H A Dtermios.h18 struct termios { struct
224 extern speed_t cfgetispeed(const struct termios *termios);
225 extern speed_t cfgetospeed(const struct termios *termios);
226 extern int cfsetispeed(struct termios *termios, speed_t speed);
227 extern int cfsetospeed(struct termios *termios, speed_t speed);
228 extern void cfmakeraw(struct termios *termio
[all...]
/haiku/src/add-ons/kernel/drivers/ports/usb_serial/
H A DTracing.h33 void trace_termios(struct termios *tios);
H A DSerialDevice.h57 void SetModes(struct termios *tios);
151 struct termios fTTYConfig;
/haiku/src/add-ons/kernel/drivers/ports/pc_serial/
H A DTracing.h33 void trace_termios(struct termios *tios);
H A DSerialDevice.h44 void SetModes(struct termios *tios);
152 struct termios fTTYConfig;
/haiku/src/apps/terminal/
H A DShell.h43 status_t GetAttr(struct termios& attr) const;
44 status_t SetAttr(const struct termios& attr);
/haiku/src/tests/system/libroot/posix/
H A Dtermios.cpp13 #include <termios.h>
/haiku/src/bin/consoled/
H A Dconsoled.cpp16 #include <termios.h>
329 struct termios termios; local
332 if (tcgetattr(con->tty_slave_fd, &termios) == 0) {
333 termios.c_iflag = ICRNL;
334 termios.c_oflag = OPOST | ONLCR;
335 termios.c_lflag = ISIG | ICANON | ECHO | ECHOE | ECHONL;
337 tcsetattr(con->tty_slave_fd, TCSANOW, &termios);
/haiku/src/add-ons/print/transports/serial_port/
H A DSerialTransport.cpp13 #include <termios.h>
64 struct termios options;
/haiku/headers/os/drivers/tty/
H A Dtty_module.h10 #include <termios.h>
34 #define TTYSETMODES 1 /* struct termios termios */
/haiku/src/bin/multiuser/
H A Dmultiuser_utils.cpp12 #include <termios.h>
44 struct termios termAttrs;

Completed in 228 milliseconds

12