/freebsd-9.3-release/sys/netgraph/bluetooth/drivers/h4/ |
H A D | ng_h4.c | 53 #include <sys/tty.h> 87 static int ng_h4_open (struct cdev *, struct tty *); 88 static int ng_h4_close (struct tty *, int); 89 static int ng_h4_read (struct tty *, struct uio *, int); 90 static int ng_h4_write (struct tty *, struct uio *, int); 91 static int ng_h4_input (int, struct tty *); 92 static int ng_h4_start (struct tty *); 93 static int ng_h4_ioctl (struct tty *, u_long, caddr_t, 147 * Set our line discipline on the tty. 151 ng_h4_open(struct cdev *dev, struct tty *t [all...] |
H A D | ng_h4_var.h | 69 struct tty *tp; /* Terminal device */
|
/freebsd-9.3-release/release/picobsd/tinyware/login/ |
H A D | pico-login.c | 124 #define TTYGRPNAME "tty" /* name of group to own ttys */ 141 char *term, *envinit[1], *hostname, *tty, *username; variable 273 if ((tty = strrchr(ttyn, '/')) != NULL) 274 ++tty; 276 tty = ttyn; 299 rootok = rootterm(tty); /* Default (auth may change) */ 492 if (!auth_ttyok(lc, tty)) 509 if (login_access(pwd->pw_name, hostname ? full_hostname : tty) == 0) 514 ulog_login(tty, username, hostname); 522 (void)strncpy(utmp.ut_line, tty, sizeo [all...] |
/freebsd-9.3-release/sys/netgraph/ |
H A D | ng_tty.c | 49 * NGM_TTY_SET_TTY, this will hook the tty via ttyhook_register(). 74 #include <sys/tty.h> 87 struct tty *tp; /* Terminal device */ 138 NETGRAPH_INIT(tty, &typestruct); 151 * the line discipline on a tty, so always return an error if not. 194 * tty locks. 228 struct tty *tp; 314 struct tty *tp = sc->tp; 350 ngt_getc_inject(struct tty *tp, void *buf, size_t len) 394 ngt_getc_poll(struct tty *t [all...] |
/freebsd-9.3-release/contrib/libreadline/ |
H A D | terminal.c | 225 _rl_get_screen_size (tty, ignore_env) 226 int tty, ignore_env; 236 if (ioctl (tty, TIOCGWINSZ, &window_size) == 0) 427 int tty, tgetent_ret; local 431 tty = rl_instream ? fileno (rl_instream) : 0; 472 _rl_get_screen_size (tty, 0); 522 _rl_get_screen_size (tty, 0);
|
/freebsd-9.3-release/sys/kern/ |
H A D | tty_compat.c | 44 #include <sys/tty.h> 53 static int ttcompatgetflags(struct tty *tp); 54 static void ttcompatsetflags(struct tty *tp, struct termios *t); 55 static void ttcompatsetlflags(struct tty *tp, struct termios *t); 100 ttsetcompat(struct tty *tp, u_long *com, caddr_t data, struct termios *term) 183 tty_ioctl_compat(struct tty *tp, u_long com, caddr_t data, int fflag, 274 ttcompatgetflags(struct tty *tp) 334 ttcompatsetflags(struct tty *tp, struct termios *t) 411 ttcompatsetlflags(struct tty *tp, struct termios *t)
|
H A D | subr_prf.c | 56 #include <sys/tty.h> 82 struct tty *tty; member in struct:putchar_arg 158 pca.tty = p->p_session->s_ttyp; 161 if (pca.tty == NULL) { 168 tty_lock(pca.tty); 171 tty_unlock(pca.tty); 183 struct tty *tp = NULL; 207 pca.tty = tp; 211 if (pca.tty ! [all...] |
/freebsd-9.3-release/contrib/openpam/bin/pamtest/ |
H A D | pamtest.c | 274 "[-dkMPsv] [-H rhost] [-h host] [-t tty] [-U ruser] [-u user]"); 322 const char *tty = NULL; local 363 opt_str_once(opt, &tty, optarg); 396 if (tty == NULL) 397 tty = ttyname(STDERR_FILENO); 416 * The remote host / user / tty are usually set by the 421 (pame = pt_set_item(PAM_TTY, tty)) != PAM_SUCCESS)
|
/freebsd-9.3-release/sys/dev/syscons/ |
H A D | sysmouse.c | 37 #include <sys/tty.h> 48 static struct tty *sysmouse_tty; 53 smdev_close(struct tty *tp) 59 smdev_ioctl(struct tty *tp, u_long cmd, caddr_t data, struct thread *td) 145 smdev_param(struct tty *tp, struct termios *t)
|
H A D | scvesactl.c | 41 #include <sys/tty.h> 54 vesa_ioctl(struct tty *tp, u_long cmd, caddr_t data, struct thread *td)
|
H A D | syscons.h | 189 struct tty; 223 struct tty **dev; 381 typedef int sc_term_ioctl_t(scr_stat *scp, struct tty *tp, u_long cmd, 391 typedef int sc_term_input_t(scr_stat *scp, int c, struct tty *tp); 551 extern int (*sc_user_ioctl)(struct tty *tp, u_long cmd, caddr_t data, 594 int sc_hist_ioctl(struct tty *tp, u_long cmd, caddr_t data, 619 int sc_mouse_ioctl(struct tty *tp, u_long cmd, caddr_t data, 624 int sc_set_text_mode(scr_stat *scp, struct tty *tp, int mode, 627 int sc_set_graphics_mode(scr_stat *scp, struct tty *tp, int mode); 628 int sc_set_pixel_mode(scr_stat *scp, struct tty *t [all...] |
/freebsd-9.3-release/usr.bin/wall/ |
H A D | wall.c | 199 const char *tty; local 209 tty = ttyname(STDERR_FILENO); 210 if (tty == NULL) 211 tty = "no tty"; 232 L" (%s) at %d:%02d %s...", tty,
|
/freebsd-9.3-release/sys/dev/rp/ |
H A D | rp.c | 49 #include <sys/tty.h> 577 static void rpclose(struct tty *tp); 578 static void rphardclose(struct tty *tp); 579 static int rpmodem(struct tty *, int, int); 580 static int rpparam(struct tty *, struct termios *); 581 static void rpstart(struct tty *); 582 static int rpioctl(struct tty *, u_long, caddr_t, struct thread *); 583 static int rpopen(struct tty *); 585 static void rp_do_receive(struct rp_port *rp, struct tty *tp, 651 struct tty *t [all...] |
/freebsd-9.3-release/crypto/heimdal/appl/login/ |
H A D | login.c | 398 char *tty, char *ttyn) 403 if (utmpx_login(tty, username, hostname) != 0 && !f_flag) { 441 * information about the user. `ttyn' is the complete name of the tty 442 * and `tty' the short name. 446 do_login(const struct passwd *pwd, char *tty, char *ttyn) argument 465 tty, ttyn); 467 gr = getgrnam ("tty"); 760 /* Default tty settings. */ 798 char *tty, *ttyn; local 862 tty 397 update_utmp(const char *username, const char *hostname, char *tty, char *ttyn) argument [all...] |
/freebsd-9.3-release/crypto/heimdal/lib/roken/ |
H A D | get_window_size.c | 53 #include <sys/tty.h>
|
/freebsd-9.3-release/crypto/openssh/openbsd-compat/ |
H A D | port-linux.c | 139 ssh_selinux_setup_pty(char *pwname, const char *tty) argument 148 debug3("%s: setting TTY context on %s", __func__, tty); 154 if (getfilecon(tty, &old_tty_ctx) == -1) { 166 if (setfilecon(tty, new_tty_ctx) != 0)
|
/freebsd-9.3-release/libexec/talkd/ |
H A D | process.c | 189 find_user(const char *name, char *tty) argument 203 if (*tty == '\0' || best != 0) { 206 /* no particular tty was requested */ 214 (void) strcpy(tty, ut->ut_line); 220 if (strcmp(ut->ut_line, tty) == 0) {
|
/freebsd-9.3-release/sys/dev/dcons/ |
H A D | dcons.h | 101 void *tty; member in struct:dcons_softc
|
/freebsd-9.3-release/sys/dev/quicc/ |
H A D | quicc_bfe_fdt.c | 41 #include <sys/tty.h>
|
/freebsd-9.3-release/sys/dev/sio/ |
H A D | sio_pccard.c | 37 #include <sys/tty.h>
|
/freebsd-9.3-release/sys/powerpc/psim/ |
H A D | uart_iobus.c | 43 #include <sys/tty.h>
|
/freebsd-9.3-release/usr.bin/mail/ |
H A D | Makefile | 7 quit.c send.c strings.c temp.c tty.c util.c vars.c
|
/freebsd-9.3-release/lib/libkvm/ |
H A D | kvm_proc.c | 66 #include <sys/tty.h> 121 struct tty tty; local 293 if (KREAD(kd, (u_long)sess.s_ttyp, &tty)) { 295 "can't read tty at %p", sess.s_ttyp); 298 if (tty.t_dev != NULL) { 299 if (KREAD(kd, (u_long)tty.t_dev, &t_cdev)) { 302 tty.t_dev); 311 if (tty.t_pgrp != NULL) { 312 if (KREAD(kd, (u_long)tty [all...] |
/freebsd-9.3-release/crypto/openssh/regress/ |
H A D | key-options.sh | 29 r=`${SSH} -$p -q -F $OBJ/ssh_proxy somehost tty`
|
/freebsd-9.3-release/gnu/usr.bin/groff/tmac/ |
H A D | Makefile | 31 tty.tmac tty-char.tmac \
|