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

1234

/haiku-fatelf/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
113 cfsetispeed(struct termios *termios, speed_t speed) argument
132 cfgetospeed(const struct termios *termios) argument
139 cfsetospeed(struct termios *termios, speed_t speed) argument
154 cfmakeraw(struct termios *termios) argument
[all...]
/haiku-fatelf/headers/posix/sys/
H A Dioctl.h9 #include <termios.h>
/haiku-fatelf/headers/private/drivers/
H A Dtty.h8 #include <termios.h>
/haiku-fatelf/headers/compatibility/bsd/
H A Dpty.h10 #include <termios.h>
16 struct termios* termAttrs, struct winsize* windowSize);
19 struct termios* termAttrs, struct winsize* windowSize);
/haiku-fatelf/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-fatelf/src/libs/bsd/
H A Dgetpass.c12 #include <termios.h>
20 struct termios termios; local
25 if (tcgetattr(fileno(stdin), &termios) == 0) {
26 struct termios noEchoTermios = termios;
49 // Restore termios setting
51 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,
/haiku-fatelf/src/bin/gdb/readline/
H A Drlwinsize.h39 # include <termios.h>
H A Drltty.h27 /* Posix systems use termios and the Posix signal functions. */
29 # include <termios.h>
/haiku-fatelf/headers/posix/
H A Dtermios.h18 struct termios { struct
222 extern speed_t cfgetispeed(const struct termios *termios);
223 extern speed_t cfgetospeed(const struct termios *termios);
224 extern int cfsetispeed(struct termios *termios, speed_t speed);
225 extern int cfsetospeed(struct termios *termios, speed_t speed);
226 extern void cfmakeraw(struct termios *termio
[all...]
/haiku-fatelf/src/add-ons/kernel/generic/tty/
H A Dtty.cpp55 tty::lock: Guards the access to tty::{input_buffer,settings::{termios,
513 && fSource->settings.termios.c_lflag & ECHO) != 0;
689 if (!fTTY->is_master && (fTTY->settings.termios.c_lflag & ICANON) != 0) {
691 fTTY->settings.termios.c_cc[VEOL],
692 fTTY->settings.termios.c_cc[VEOF]);
703 reset_termios(struct termios& termios) argument
705 memset(&termios, 0, sizeof(struct termios));
707 termios
[all...]
/haiku-fatelf/src/apps/terminal/
H A DShell.h43 status_t GetAttr(struct termios& attr) const;
44 status_t SetAttr(const struct termios& attr);
/haiku-fatelf/src/bin/multiuser/
H A Dlogin.cpp19 #include <termios.h>
35 struct termios termios; local
37 if (ioctl(STDIN_FILENO, TCGETA, &termios) != 0)
41 if (enabled == ((termios.c_lflag & ECHO) != 0))
45 termios.c_lflag |= ECHO;
47 termios.c_lflag &= ~ECHO;
49 if (ioctl(STDIN_FILENO, TCSETA, &termios) != 0)
/haiku-fatelf/src/add-ons/kernel/drivers/ports/usb_serial/
H A DTracing.h33 void trace_termios(struct termios *tios);
/haiku-fatelf/src/bin/bash/lib/readline/
H A Drltty.h25 /* Posix systems use termios and the Posix signal functions. */
27 # include <termios.h>
H A Drlwinsize.h37 # include <termios.h>
/haiku-fatelf/src/bin/gdb/gdb/gdbserver/
H A Dterminal.h29 #include <termios.h>
/haiku-fatelf/src/add-ons/kernel/drivers/tty/
H A Dtty.cpp60 tty::lock: Guards the access to tty::{input_buffer,settings::{termios,
524 && fSource->settings->termios.c_lflag & ECHO) != 0;
635 || (fSource->settings->termios.c_lflag & TOSTOP) == 0) {
731 if (!fTTY->is_master && (fTTY->settings->termios.c_lflag & ICANON) != 0) {
733 fTTY->settings->termios.c_cc[VEOL],
734 fTTY->settings->termios.c_cc[VEOF]);
779 reset_termios(struct termios& termios) argument
781 memset(&termios, 0, sizeof(struct termios));
[all...]
/haiku-fatelf/src/add-ons/kernel/drivers/ports/pc_serial/
H A DTracing.h33 void trace_termios(struct termios *tios);
/haiku-fatelf/src/bin/gdb/gdb/
H A Dterminal.h49 #include <termios.h>
H A Dser-unix.c40 struct termios termios; member in struct:hardwire_ttystate
42 #endif /* termios */
47 (e.g. sco) have also added termios. Even if not, trying to figure out
118 if (tcgetattr (scb->fd, &state->termios) < 0)
148 if (tcsetattr (scb->fd, TCSANOW, &state->termios) < 0)
210 termio and termios have no such restriction; for them flushing input
240 (int) state->termios.c_iflag,
241 (int) state->termios.c_oflag);
243 (int) state->termios
[all...]
/haiku-fatelf/src/libs/util/
H A Dpty.c53 #include <termios.h>
59 new_openpty(int *amaster, int *aslave, char *name, struct termios *termp,
99 openpty(int *amaster, int *aslave, char *name, struct termios *termp, struct winsize *winp)
149 forkpty(int *amaster, char *name, struct termios *termp, struct winsize *winp)
/haiku-fatelf/src/bin/bash/include/
H A Dshtty.h41 * between sys/ioctl.h and termios.h. Ditto for the test against SunOS4
54 # include <termios.h>
55 # define TTYSTRUCT struct termios
/haiku-fatelf/src/bin/bash/lib/readline/examples/
H A Dexcallback.c50 #include <termios.h> /* xxx - should make this more general */
95 struct termios term;
/haiku-fatelf/src/bin/gdb/readline/examples/
H A Dexcallback.c47 #include <termios.h> /* xxx - should make this more general */
92 struct termios term;

Completed in 214 milliseconds

1234