Searched refs:tty (Results 1 - 25 of 36) sorted by relevance

12

/external/kernel-headers/original/linux/
H A Dtty.h5 * 'tty.h' defines some structures used by tty_io.c and some defines.
39 * This is the flip buffer used for the tty driver. The buffer is
40 * located in the tty structure, and is used as a high speed interface
41 * between the tty driver and the tty line discipline.
81 #define INTR_CHAR(tty) ((tty)->termios->c_cc[VINTR])
82 #define QUIT_CHAR(tty) ((tty)->termios->c_cc[VQUIT])
83 #define ERASE_CHAR(tty) ((tt
339 tty_devnum(struct tty_struct *tty) argument
[all...]
H A Dserial_core.h143 #include <linux/tty.h>
310 struct tty_struct *tty; member in struct:uart_info
405 ((port)->info->tty->stopped || (port)->info->tty->hw_stopped)
446 do_SAK(info->tty);
470 else if (info->tty)
471 tty_hangup(info->tty);
484 struct tty_struct *tty = info->tty; local
489 if (tty
510 struct tty_struct *tty = port->info->tty; local
[all...]
/external/openssl/crypto/des/
H A Dread_pwd.c148 #define TTY_get(tty,data) tcgetattr(tty,data)
149 #define TTY_set(tty,data) tcsetattr(tty,TCSANOW,data)
156 #define TTY_get(tty,data) ioctl(tty,TCGETA,data)
157 #define TTY_set(tty,data) ioctl(tty,TCSETA,data)
164 #define TTY_get(tty,data) ioctl(tty,TIOCGET
279 static FILE *tty; local
479 noecho_fgets(char *buf, int size, FILE *tty) argument
[all...]
/external/openssh/
H A Dsshpty.c6 * Allocating a pseudo-terminal, and making it the controlling tty.
59 * descriptors for the pty and tty sides and the name of the tty side are
88 /* Releases the tty. Its ownership is returned to root, and permissions to 0666. */
91 pty_release(const char *tty) argument
94 if (chown(tty, (uid_t) 0, (gid_t) 0) < 0)
95 error("chown %.100s 0 0 failed: %.100s", tty, strerror(errno));
96 if (chmod(tty, (mode_t) 0666) < 0)
97 error("chmod %.100s 0666 failed: %.100s", tty, strerror(errno));
101 /* Makes the tty th
104 pty_make_controlling_tty(int *ttyfd, const char *tty) argument
208 pty_setowner(struct passwd *pw, const char *tty) argument
[all...]
H A Dsshlogin.c10 * on a tty.
126 record_login(pid_t pid, const char *tty, const char *user, uid_t uid, argument
134 li = login_alloc_entry(pid, user, host, tty);
156 record_logout(pid_t pid, const char *tty, const char *user) argument
160 li = login_alloc_entry(pid, user, NULL, tty);
H A Dauth-sia.c83 session_setup_sia(struct passwd *pw, char *tty) argument
91 tty, 0, NULL) != SIASUCCESS)
H A Dsession.h39 /* tty */
43 char tty[TTYSZ]; member in struct:Session
H A Dsession.c443 * This is called to fork and execute a command when we have no tty. This
637 * This is called to fork and execute a command when we have a tty. This
639 * setting up file descriptors, controlling tty, updating wtmp, utmp,
693 /* Close the master side of the pseudo tty. */
696 /* Make the pseudo tty our controlling tty. */
697 pty_make_controlling_tty(&ttyfd, s->tty);
699 /* Redirect stdin/stdout/stderr from the pseudo tty. */
707 /* Close the extra descriptor for the pseudo tty. */
742 /* Parent. Close the slave side of the pseudo tty
1936 session_by_tty(char *tty) argument
[all...]
H A Dloginrec.c605 if (strncmp(src, "tty", 3) == 0)
844 int tty; local
851 tty=0;
854 tty++;
861 logit("%s: tty not found", __func__);
866 tty = ttyslot(); /* seems only to work for /dev/ttyp? style names */
870 if (tty > 0 && (fd = open(UTMP_FILE, O_RDWR|O_CREAT, 0644)) >= 0) {
873 pos = (off_t)tty * sizeof(struct utmp);
880 logit("%s: Couldn't seek to tty %d slot in %s",
881 __func__, tty, UTMP_FIL
[all...]
/external/quake/quake/src/WinQuake/
H A Dnet_ser.cpp78 int tty; member in struct:SerialLine_s
125 b = TTY_ReadByte(p->tty);
369 serialLine[n].tty = TTY_Open(n);
408 return TTY_OutputQueueIsEmpty(((SerialLine *)sock->driverdata)->tty);
426 TTY_WriteByte(p->tty, b);
431 TTY_WriteByte(p->tty, b);
433 TTY_WriteByte(p->tty, b);
438 TTY_WriteByte(p->tty, b);
440 TTY_WriteByte(p->tty, b);
443 TTY_WriteByte(p->tty,
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/wscons/
H A DSDL_wsconsevents.c43 struct termios tty; local
55 tty = private->saved_tty;
56 tty.c_iflag = IGNPAR | IGNBRK;
57 tty.c_oflag = 0;
58 tty.c_cflag = CREAD | CS8;
59 tty.c_lflag = 0;
60 tty.c_cc[VTIME] = 0;
61 tty.c_cc[VMIN] = 1;
62 cfsetispeed(&tty, 9600);
63 cfsetospeed(&tty, 960
[all...]
/external/dropbear/
H A Dcli-authinteract.c36 FILE* tty = NULL; local
44 tty = fopen(_PATH_TTY, "r");
45 if (tty) {
46 ret = fgets(buf, sizeof(buf), tty);
47 fclose(tty);
H A Dchansession.h48 unsigned char * tty; member in struct:ChanSess
H A Dcli-kex.c118 FILE *tty = NULL; local
134 tty = fopen(_PATH_TTY, "r");
135 if (tty) {
136 response = getc(tty);
137 fclose(tty);
H A Dsvr-chansession.c229 chansess->tty = NULL;
273 if (chansess->tty) {
276 ses.remotehost, chansess->tty);
280 pty_release(chansess->tty);
281 m_free(chansess->tty);
545 chansess->tty = (char*)m_strdup(namebuf);
546 if (!chansess->tty) {
550 pty_setowner(ses.authstate.pw, chansess->tty);
748 if (chansess->master == -1 || chansess->tty == NULL) {
773 pty_make_controlling_tty(&chansess->slave, chansess->tty);
[all...]
H A Dloginrec.c449 if (strncmp(src, "tty", 3) == 0)
684 int tty; local
691 tty=0;
695 tty++;
702 dropbear_log(LOG_WARNING, "utmp_write_entry: tty not found");
707 tty = ttyslot(); /* seems only to work for /dev/ttyp? style names */
711 if (tty > 0 && (fd = open(UTMP_FILE, O_RDWR|O_CREAT, 0644)) >= 0) {
712 (void)lseek(fd, (off_t)(tty * sizeof(struct utmp)), SEEK_SET);
725 (void)lseek(fd, (off_t)(tty * sizeof(struct utmp)), SEEK_SET);
963 * username on a given tty lin
[all...]
/external/ppp/pppd/
H A DAndroid.mk20 tty.c \
H A DMakefile.sol212 tty.o ccp.o ecp.o auth.o options.o demand.o utils.o sys-solaris.o \
/external/openssl/crypto/ui/
H A Dui_openssl.c221 # define TTY_get(tty,data) tcgetattr(tty,data)
222 # define TTY_set(tty,data) tcsetattr(tty,TCSANOW,data)
229 # define TTY_get(tty,data) ioctl(tty,TCGETA,data)
230 # define TTY_set(tty,data) ioctl(tty,TCSETA,data)
237 # define TTY_get(tty,data) ioctl(tty,TIOCGET
669 noecho_fgets(char *buf, int size, FILE *tty) argument
[all...]
/external/openssh/openbsd-compat/
H A Dport-linux.c140 ssh_selinux_setup_pty(char *pwname, const char *tty) argument
149 debug3("%s: setting TTY context on %s", __func__, tty);
155 if (getfilecon(tty, &old_tty_ctx) == -1) {
167 if (setfilecon(tty, new_tty_ctx) != 0)
/external/openssh/regress/
H A Dkey-options.sh29 r=`${SSH} -$p -q -F $OBJ/ssh_proxy somehost tty`
/external/qemu/
H A Dqemu-char.c805 struct termios tty; local
807 tty = oldtty;
809 tty.c_iflag &= ~(IGNBRK|BRKINT|PARMRK|ISTRIP
811 tty.c_oflag |= OPOST;
812 tty.c_lflag &= ~(ECHO|ECHONL|ICANON|IEXTEN);
813 tty.c_cflag &= ~(CSIZE|PARENB);
814 tty.c_cflag |= CS8;
815 tty.c_cc[VMIN] = 1;
816 tty.c_cc[VTIME] = 0;
820 tty
1044 struct termios tty; local
1087 struct termios tty; local
[all...]
/external/libppp/src/
H A DMakefile12 tcpmss.c throughput.c timer.c tty.c tun.c udp.c vjcomp.c
H A Dprompt.c326 char *tty = ttyname(STDIN_FILENO); local
328 if (!tty) {
338 strncpy(p->src.from, tty, sizeof p->src.from - 1);
340 tcgetattr(p->fd_in, &p->oldtio); /* Save original tty mode */
448 * Set tty into command mode. We allow canonical input and echo processing.
472 * Set tty into terminal mode which is used while we invoke term command.
/external/clang/test/Analysis/
H A Dtaint-tester.c63 int tty = xy.y; // expected-warning + {{tainted}} local

Completed in 474 milliseconds

12