/freebsd-10.2-release/sys/dev/si/ |
H A D | si.c | 51 #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 D | si.h | 283 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 D | digi.c | 49 #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 D | digi.h | 73 struct tty *tp;
|
/freebsd-10.2-release/release/picobsd/tinyware/oinit/ |
H A D | oinit.c | 86 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 D | pam_unix.c | 157 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 D | uhsoctl.c | 72 #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 D | tc.func.c | 618 fd = xopen("/dev/tty", O_RDWR|O_LARGEFILE); 770 /* Don't leave the tty in raw mode */
|
H A D | sh.lex.c | 165 /* ^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 D | t_pr.c | 34 #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 D | xencons_ring.c | 10 #include <sys/tty.h>
|
/freebsd-10.2-release/sys/dev/sio/ |
H A D | sio_pci.c | 37 #include <sys/tty.h>
|
H A D | sio.c | 68 #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 D | pty.c | 43 #include <sys/tty.h>
|
/freebsd-10.2-release/usr.sbin/ppp/ |
H A D | Makefile | 12 tcpmss.c throughput.c timer.c tty.c tun.c udp.c vjcomp.c
|
H A D | prompt.c | 326 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 D | schistory.c | 41 #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 D | tty_info.c | 53 #include <sys/tty.h> 214 tty_info(struct tty *tp) 256 * thread or proc since we hold the tty locked.
|
H A D | kern_cons.c | 64 #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 D | tty_inq.c | 39 #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 D | terminal.h | 49 struct tty; 196 struct tty *tm_tty;
|
/freebsd-10.2-release/crypto/openssh/ |
H A D | loginrec.c | 604 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 D | groffer2.sh | 301 _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 D | su.c | 435 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 D | rcsgen.c | 145 int interactiveflag; /* Should we act as if stdin is a tty? */ 428 register int tty = ttystdin(); local 430 if (tty) { 451 } else if (tty) {
|