Searched refs:tty (Results 126 - 150 of 228) sorted by relevance

12345678910

/freebsd-10.2-release/sys/dev/si/
H A Dsi.c51 #include <sys/tty.h>
96 /* static void si_stop(struct tty *, int); */
108 static void si_modem_state(struct si_port *pp, struct tty *tp, int hi_ip);
279 struct tty *tp;
612 siopen(struct tty *tp)
631 siclose(struct tty *tp)
643 siioctl(struct tty *tp, u_long cmd, caddr_t data, struct thread *td)
658 return (ENOIOCTL); /* Let the common tty ioctl handler do it */
804 siparam(struct tty *tp, struct termios *t)
976 simodem(struct tty *t
[all...]
H A Dsi.h283 struct tty *sp_tty;
342 struct tty x_tty;
385 /* Various stats and monitoring hooks per tty device */
/freebsd-10.2-release/sys/dev/digi/
H A Ddigi.c49 #include <sys/tty.h>
69 static void digistop(struct tty *tp, int rw);
70 static void digibreak(struct tty *tp, int brk);
71 static int digimodem(struct tty *tp, int sigon, int sigoff);
75 static void digistart(struct tty *tp);
76 static int digiparam(struct tty *tp, struct termios *t);
77 static void digiclose(struct tty *tp);
219 struct tty *tp;
603 digimodem(struct tty *tp, int sigon, int sigoff)
661 digiopen(struct tty *t
[all...]
H A Ddigi.h73 struct tty *tp;
/freebsd-10.2-release/release/picobsd/tinyware/oinit/
H A Doinit.c86 char tty[16]; /* vty device path */ member in struct:sess
567 revoke(ttys[vty].tty);
568 fd=open(ttys[vty].tty,O_RDWR);
583 t=(char *)(rindex(ttys[vty].tty,'/')+1);
927 sprintf(ttys[i].tty,_PATH_CONSOLE);
929 sprintf(ttys[i].tty,"%sv%c",_PATH_TTY,vty[i]);
/freebsd-10.2-release/lib/libpam/modules/pam_unix/
H A Dpam_unix.c157 const void *rhost, *tty; local
173 retval = pam_get_item(pamh, PAM_TTY, &tty);
246 * Check host / tty / time-of-day restrictions
250 !auth_ttyok(lc, tty) ||
/freebsd-10.2-release/usr.sbin/uhsoctl/
H A Duhsoctl.c72 #define SYSCTL_NAME_TTY "dev.uhso.%d.port.%s.tty"
1016 * Attempts to find a list of control tty for the interface
1133 do_connect(struct ctx *ctx, const char *tty) argument
1141 fprintf(stderr, "Attempting to open %s\n", tty);
1144 ctx->fd = open(tty, O_RDWR);
1147 fprintf(stderr, "Failed to open %s\n", tty);
1161 warnx("failed to read from device %s", tty);
1348 "[-k password] [-r resolvpath] [-f tty] interface\n", exec);
1362 char *tty = NULL; local
1423 tty
[all...]
/freebsd-10.2-release/contrib/tcsh/
H A Dtc.func.c618 fd = xopen("/dev/tty", O_RDWR|O_LARGEFILE);
770 /* Don't leave the tty in raw mode */
H A Dsh.lex.c165 /* ^lef^rit from tty is short !:s^lef^rit */
1425 struct termio tty; local
1427 struct sgttyb tty;
1430 struct termios tty;
1439 if (ioctl(SHIN, TCGETA, (ioctl_t) & tty) == 0 &&
1440 (tty.c_lflag & ICANON))
1442 if (ioctl(SHIN, TIOCGETP, (ioctl_t) & tty) == 0 &&
1443 (tty.sg_flags & RAW) == 0)
1446 if (tcgetattr(SHIN, &tty) == 0 &&
1447 (tty
[all...]
/freebsd-10.2-release/contrib/netbsd-tests/kernel/tty/
H A Dt_pr.c34 #include <sys/tty.h>
103 "test basic tty/pty operation when opening client side first");
131 "test basic tty/pty operation when opening master side first");
/freebsd-10.2-release/sys/dev/xen/console/
H A Dxencons_ring.c10 #include <sys/tty.h>
/freebsd-10.2-release/sys/dev/sio/
H A Dsio_pci.c37 #include <sys/tty.h>
H A Dsio.c68 #include <sys/tty.h>
126 * The following com and tty flags correspond closely:
151 "tty-level buffer overflow",
226 struct tty *tp; /* cross reference */
258 static void combreak(struct tty *tp, int sig);
261 static void comclose(struct tty *tp);
262 static int comopen(struct tty *tp, struct cdev *dev);
266 static int commodem(struct tty *tp, int sigon, int sigoff);
267 static int comparam(struct tty *tp, struct termios *t);
271 static void comstart(struct tty *t
[all...]
/freebsd-10.2-release/sys/dev/pty/
H A Dpty.c43 #include <sys/tty.h>
/freebsd-10.2-release/usr.sbin/ppp/
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.
/freebsd-10.2-release/sys/dev/syscons/
H A Dschistory.c41 #include <sys/tty.h>
295 sc_hist_ioctl(struct tty *tp, u_long cmd, caddr_t data, struct thread *td)
/freebsd-10.2-release/sys/kern/
H A Dtty_info.c53 #include <sys/tty.h>
214 tty_info(struct tty *tp)
256 * thread or proc since we hold the tty locked.
H A Dkern_cons.c64 #include <sys/tty.h>
73 static MALLOC_DEFINE(M_TTYCONS, "tty console", "tty console handling");
94 struct msgbuf consmsgbuf; /* message buffer for console tty */
98 struct tty *constty; /* pointer to console "window" tty */
535 "Console tty buffer size");
538 * Redirect console output to a tty.
541 constty_set(struct tty *tp)
557 * Disable console redirection to a tty
[all...]
H A Dtty_inq.c39 #include <sys/tty.h>
116 ttyinq_setsize(struct ttyinq *ti, struct tty *tp, size_t size)
158 ttyinq_read_uio(struct ttyinq *ti, struct tty *tp, struct uio *uio,
/freebsd-10.2-release/sys/sys/
H A Dterminal.h49 struct tty;
196 struct tty *tm_tty;
/freebsd-10.2-release/crypto/openssh/
H A Dloginrec.c604 if (strncmp(src, "tty", 3) == 0)
843 int tty; local
850 tty=0;
853 tty++;
860 logit("%s: tty not found", __func__);
865 tty = ttyslot(); /* seems only to work for /dev/ttyp? style names */
869 if (tty > 0 && (fd = open(UTMP_FILE, O_RDWR|O_CREAT, 0644)) >= 0) {
872 pos = (off_t)tty * sizeof(struct utmp);
879 logit("%s: Couldn't seek to tty %d slot in %s",
880 __func__, tty, UTMP_FIL
[all...]
/freebsd-10.2-release/contrib/groff/contrib/groffer/
H A Dgroffer2.sh301 _DEFAULT_MODES='x,ps,tty';
311 export _VIEWER_HTML_TTY; # viewer program for html mode in tty
395 'tty' 'tty-device' 'version' 'whatis' 'where' 'www' 'x' 'X'";
398 'default-modes' 'device' 'dvi-viewer' 'dvi-viewer-tty' 'extension' 'fg' \
399 'fn' 'font' 'foreground' 'html-viewer' 'html-viewer-tty' 'mode' \
400 'pdf-viewer' 'pdf-viewer-tty' 'print' 'ps-viewer' 'ps-viewer-tty' 'shell' \
401 'title' 'tty-viewer' 'tty
[all...]
/freebsd-10.2-release/crypto/heimdal/appl/su/
H A Dsu.c435 char *tty = ttyname (STDERR_FILENO); local
436 syslog (LOG_NOTICE | LOG_AUTH, tty ? "%s to %s on %s" : "%s to %s",
437 login_info->pw_name, su_info->pw_name, tty);
/freebsd-10.2-release/gnu/usr.bin/rcs/lib/
H A Drcsgen.c145 int interactiveflag; /* Should we act as if stdin is a tty? */
428 register int tty = ttystdin(); local
430 if (tty) {
451 } else if (tty) {

Completed in 308 milliseconds

12345678910