Searched refs:tty (Results 76 - 100 of 217) sorted by relevance

123456789

/freebsd-9.3-release/sys/netgraph/bluetooth/drivers/h4/
H A Dng_h4.c53 #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 Dng_h4_var.h69 struct tty *tp; /* Terminal device */
/freebsd-9.3-release/release/picobsd/tinyware/login/
H A Dpico-login.c124 #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 Dng_tty.c49 * 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 Dterminal.c225 _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 Dtty_compat.c44 #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 Dsubr_prf.c56 #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 Dpamtest.c274 "[-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 Dsysmouse.c37 #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 Dscvesactl.c41 #include <sys/tty.h>
54 vesa_ioctl(struct tty *tp, u_long cmd, caddr_t data, struct thread *td)
H A Dsyscons.h189 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 Dwall.c199 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 Drp.c49 #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 Dlogin.c398 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 Dget_window_size.c53 #include <sys/tty.h>
/freebsd-9.3-release/crypto/openssh/openbsd-compat/
H A Dport-linux.c139 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 Dprocess.c189 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 Ddcons.h101 void *tty; member in struct:dcons_softc
/freebsd-9.3-release/sys/dev/quicc/
H A Dquicc_bfe_fdt.c41 #include <sys/tty.h>
/freebsd-9.3-release/sys/dev/sio/
H A Dsio_pccard.c37 #include <sys/tty.h>
/freebsd-9.3-release/sys/powerpc/psim/
H A Duart_iobus.c43 #include <sys/tty.h>
/freebsd-9.3-release/usr.bin/mail/
H A DMakefile7 quit.c send.c strings.c temp.c tty.c util.c vars.c
/freebsd-9.3-release/lib/libkvm/
H A Dkvm_proc.c66 #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 Dkey-options.sh29 r=`${SSH} -$p -q -F $OBJ/ssh_proxy somehost tty`
/freebsd-9.3-release/gnu/usr.bin/groff/tmac/
H A DMakefile31 tty.tmac tty-char.tmac \

Completed in 324 milliseconds

123456789